RE: [PHP] How is code in PHP interpreted, from 1st line to last? i do nt think so

From: Date: Thu, 28 Mar 2002 15:49:15 +0000
Subject: RE: [PHP] How is code in PHP interpreted, from 1st line to last? i do nt think so
Groups: php.general 
Request: Send a blank email to php-general+get-90545@lists.php.net to get a copy of this message
Good day. If you want some php code to execute another file of php code and the continue afterwards, use the "include()" statement. Please note that with the example you've listed there, the code isn't executed the way that you might think. The client will receive all of the html from the PHP script first. Then, the client will look at the <img> tag and figured out that it has to request graf.php, which is does (which will be executed separately). ============================ Darren Gamble Planner, Regional Services Shaw Cablesystems GP 630 - 3rd Avenue SW Calgary, Alberta, Canada T2P 4L4 (403) 781-4948 -----Original Message----- From: Moschitz Martin [mailto:Martin.Moschitz@arcs.ac.at] Sent: Thursday, March 28, 2002 8:46 AM To: php-general@lists.php.net Subject: [PHP] How is code in PHP interpreted, from 1st line to last? i do nt think so How can I say php to execute graf.php until it´s finished and then move on to the rest of the code? echo "<img src='graf.php>"; <... more code ...> tanxs -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#90545) next »