note 30730 deleted from function.exit by nlopess

From: Date: Sun, 15 Feb 2004 11:53:57 +0000
Subject: note 30730 deleted from function.exit by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-65164@lists.php.net to get a copy of this message
Note Submitter: tnicolaysen@hotmail.com ---- 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')); } __________________________________________

« previous php.notes (#65164) next »