note 96480 deleted from faq.using by danbrown

From: Date: Mon, 01 Mar 2010 15:57:45 +0000
Subject: note 96480 deleted from faq.using by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-166483@lists.php.net to get a copy of this message
Note Submitter: DABZSE ---- I'm found a right way (I'm "new" in php), here it is : <?php switch ($_GET['id']) { case "intro" : include_once ("intro.php"); break; case "guestbook" : include_once ("guestbook.php"); break; case "flash" : include_once ("flash.php"); break; case "contact" : include_once ("contact.php"); break; default : include ("intro.php"); break; } if (isset($_GET['page'])) { switch ($_GET['page']) { case "page01" : include_once ("page01.php"); break; case "page02" : include_once ("page02.php"); break; case "page03" : include_once ("page03.php"); break; case "page04" : include_once ("page04.php"); break; } } ?>

« previous php.notes (#166483) next »