Re: How different the require and include function?

From: Date: Tue, 14 Nov 2000 05:04:22 +0000
Subject: Re: How different the require and include function?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-25126@lists.php.net to get a copy of this message
Previously, kenji chan said: > How different the require and include function? > I think include is include some code in php file... They do the same thing (include a file). The main difference is that require() is always executed no matter what, whereas you can control whether include() is executed by enclosing it in a conditional structure such as an "if" condition. -dan -- Dan Lowe <dan@tangledhelix.com> http://tangledhelix.com/ What do you do when you see an endangered animal eating an endangered plant? -George Carlin

« previous php.general (#25126) next »