Hi, There are different ways i know of to echo out a variable's contents inside of html. One is to make document in all html, and then whenever youn eed variable insert a "<?php echo bla ?>" .. which allows you to seperate code and html for the most part, making it more easily readable and maintainable. On the other hand, you could also echo all the html out, and not have to have opening and closing php tags for every variable:
1)
<p>Variable: <?php echo $variable ?> </p>
-OR-
2)
<?php
echo ("
\n
<p>Variable: $variable \n
");
?>
MY QUESTION is... when you have multiple pages, or large documents, which would likely be the better method? I would love to just insert little <?php $bla ?> every now and then so that way i could read my html with ease and not have to constantly be escaping characters, but i would imagine that calling the php parser numerous times on each page might slow down the loading time? Does anyone have any knowledge on this subject? i would love to know. Thanks,
Keith