Welcome to WebmasterWorld Guest from 18.104.22.168 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
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!