Include and require

From: Date: Thu, 03 May 2001 12:04:59 +0000
Subject: Include and require
Groups: php.general 
Request: Send a blank email to php-general+get-51254@lists.php.net to get a copy of this message
Hi There, According to the docu u should not require() files or external code in loops or u must use curly Bracket when used in if conditions. But everythink works fine. I require() successfully in for loops, I can use it in if..elseif..else constucts without curly brackets. (only one line of cause) So where is the difference between require() and include(). Has anyone a working example to show me not the same results when i replace require() with include() in his code? if thus please send this tiny example @ r.locke@apliq.de Ronald

« previous php.general (#51254) next »