note 50866 deleted from language.functions by cece

From: Date: Fri, 27 Jan 2006 10:44:35 +0000
Subject: note 50866 deleted from language.functions by cece
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-102553@lists.php.net to get a copy of this message
Note Submitter: ardk at vfemail dot net ---- <?php /* Place in body of page */ function NotExist($pageID) { return $pageID != 1 && $pageID != 2; } if ($_GET['id'] == 1) { echo "<br /><br />PageID 1<br />"; } if ($_GET['id'] == 2) { echo "<br /><br />PageID 2<br />"; } if (NotExist($_GET['id'])) { echo "<br /><br />Wrong PageID!<br />"; } ?>

« previous php.notes (#102553) next »