note 30730 added to function.exit

From: Date: Wed, 26 Mar 2003 22:33:33 +0000
Subject: note 30730 added to function.exit
Groups: php.notes 
Request: Send a blank email to php-notes+get-45870@lists.php.net to get a copy of this message
I'm a newbie at making PHP scripts and so on... But i've learned one thing recently. If you have an include script diveded into 3 pieces, left, midle and right, and you use exit() in the midle, then you just have to make an txt/inc/html (etc.) document with the last part of your include script. __________________________________________ if(empty($var1)) { echo "Bla bla bla..."; exit(include('rest.inc')); } __________________________________________ -- http://www.php.net/manual/en/function.exit.php http://master.php.net/manage/user-notes.php?action=edit+30730 http://master.php.net/manage/user-notes.php?action=delete+30730 http://master.php.net/manage/user-notes.php?action=reject+30730

« previous php.notes (#45870) next »