Posted by robert on 05/18/06 01:30
| I am currently writing pages that are pure PHP. i.e. they begin with the
| <?php symbol.
|
| I am embedding all the HTML within echo ' ' commands even the <HTML>
<HEAD>
| and <BODY> tags
|
| i..e.
|
| <?php
| echo '<HTML><HEAD><TITLE>Title</TITLE></HEAD><BODY></BODY></HTML>';
| ?>
|
| Is this the right way to do things? or should I be embedding PHP into the
| HTML page?
six-one-half-a-dozen-the-other. as long as you format your code and comment
when necissary, i don't think anyone will beat you up for whichever method
you take.
btw, what is "pure" PHP? lol.
Navigation:
[Reply to this message]
|