Hi a noob here..
I wanted to make web pages in which a php script would run n fetch contents from other sites using fopen. Now while it does that, i wish to show some kind of text or image. What i dont understand is, does PHP take the entire .php file, find out where ALL the <?php tags are and return an html? which is then processed as a whole? or it goes sequentially and as and when php tags are encountered requests are sent to the server which then sends output back?