actually.... i would do it like this (use straight html when you can... its quicker):
<? // does anything really need to be here? ?>
Article1
otherwise.... echo 'a bunch of '.$stuff.' here';
or... echo "whatever you $want";
escaping works, but makes it a pain to move chunks of html out of <?php?> sections
good luck mediaphyte.com
If a person is just getting started, I would point them in this direction. As their scripts/programs require more modularity and more code in general, it's always better to point them in the class/function direction. It's not too difficult to learn and it will provide better coding standards all around for the developer.
PHP4 OO: http://us2.php.net/oop/
PHP5 OO: http://us3.php.net/zend-engine-2.php
fsn812
Junior Poster in Training
93 posts since Jan 2004
Reputation Points: 41
Solved Threads: 2