note 36690 deleted from control-structures.switch by betz

From: Date: Sun, 19 Oct 2003 08:50:58 +0000
Subject: note 36690 deleted from control-structures.switch by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-58880@lists.php.net to get a copy of this message
Note Submitter: kriek@phpfreaks.com ---- In response to myself via Mar 25th <?php $go = $_GET['go']; switch($go) { case $go: $go .= '.php'; if (file_exists($go)) { include_once($go); } else { include_once('index.php'); } break; } ?>

« previous php.notes (#58880) next »