Also, you can try not using echoing all together, like this:
PHP Code:
<?php
if ($var = "value") { ?>
This html will be displayed<br>
<?php }
else
//you get the idea
?>
Also, there is another way of outputting long chunks of text.
PHP Code:
echo <<<OUTPUT
Anything you want can go here " ' " ' etc. etc.
lines and lines of text are fine " and ' won't do anything.
//comments, etc etc won't do anything either, as well as semicolons, and any other symbols.
blah blah
just be sure to end
exactly as you began, but with the starting characters followed by a semicolon.
also, tabs/spaces matter on the last line
like this:
OUTPUT;
?>
Bookmarks