Scott Houseman wrote:

> Hi Al.
> 
> While we are on topic, what are the key differences between include() &
> require() ?


"Unlike include(), require()  will always read in the target file, 
even if the line it's on never executes. If you want to conditionally 
include a file, use include(). The conditional statement won't affect 
the require(). However, if the line on which the require() occurs is 
not executed, neither will any of the code in the target file be 
executed."


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to