PJ wrote:
> I'm a bit fuzzy on the relationship between the <? ?> and the HTML code.
> Where should the php code be placed in a page so that execution is
> carried out smoothly? So far, my coding has managed to avoid horrendous
> snags; but as I delve deeper into the quagmire of coding, I would like
> to clear the fog before me.
> Perhaps I have been fortunate up to this point... :-)
> 

Well, you place the php code wherever you want it executed.  The file is
parsed line by line top to bottom, so if you have some html for an image
and you want the php to be executed before the image, then you must
place it before the image and vice versa.

-- 
Thanks!
-Shawn
http://www.spidean.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to