[thelist] PHP style question..
Daniel J. Cody
djc at members.evolt.org
Tue Dec 18 11:07:11 CST 2001
In my journey that leads to PHP godliness, I've been seeing other
peoples code that basically echo's out the HTML parts of the PHP page:
<?
echo "<html>\n"
?>
Is that commonplace? I find it kind of backwards and usually only put
PHP markup *within* HTML, not around it. Am I missing something? Am I
coding against the PHP grain? Whats the accepted style(for the most
part, i know everyone does their own thing) for most people?
Thanks! :)
.djc.
More information about the thelist
mailing list