It marks the end of the "if" control structure. Every part of PHP code MUST BE enclosed in PHP opening and closing tags [php.net].
skyhigh007
6:19 pm on Jun 5, 2006 (gmt 0)
why cant all the code be put it in one php tag?
coopster
6:24 pm on Jun 5, 2006 (gmt 0)
It can, if you want. You can bounce in and out of PHP mode anytime you like. You can get out to use regular HTML or you can use PHP to print [php.net] the HTML out for you.
During the process of parsing, the parser only looks for the codes that are within the PHP Tag and ignores the codes that are outside of PHP Tag? If i'm wrong can you elaborate more on how Parsing works?
coopster
7:08 pm on Jun 5, 2006 (gmt 0)
Yes, that's about it. Did you read the linked page in message number 2? Details are all there.