Re: Posting coding on a website
If it code isn't inside the <?php ?> tags, it won't be parsed as PHP
but rather as HTML. So move the code you want to display outside of
those tags.
.
Relevant Pages
- Re: Redirecting between PHP Pages
... but at the very least in a php script. ... > on the outcome of the validation, you want to do one of two things: ... with the various bits of HTML being ... Display login form ... (comp.lang.php) - Re: Redirecting between PHP Pages
... Display login form ... >>other php files, you should never need a redirect your page except to ... pass it on to smarty which then displays it as html for me. ... (comp.lang.php) - Re: [PHP] Question on sending PhP variable results to an HTML page to be displayed.
... > This will not work because the page in question ends in .HTML but I did ... > in .php with the code there. ... > an HTML page and give it lets say to JavaScript to display. ... (php.general) - Re: Custom Template-Style Tags
... through further oop abstraction such that you contain your business logic in ... your html output has very little concern about your ... | tags. ... I would like to do this in PHP, ... (alt.php) - Re: does php file size matter?
... This file does not display any html, ... >assumption that the only thing that gets transferred to the client is ... >the php file after it has been parsed for all html formatting, ... (comp.lang.php) |
|