homepage Welcome to WebmasterWorld Guest from 107.20.131.154
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe and Support WebmasterWorld
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
php parsing order question
scorpion




msg:1284410
 7:51 pm on Dec 4, 2002 (gmt 0)

If you have an HTML file with <?php><?> tags in 3 separate locations, in what order are they parsed by the engine? In parallel or in sequence from top to bottom? Does it matter really?

 

lorax




msg:1284411
 7:52 pm on Dec 4, 2002 (gmt 0)

Top to bottom. Order does matter. If you call a variable at the top of your page and declare that variable at the bottom, your script will choke because you're asking for a variable you haven't created yet!

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved