php switch() problem
| From: | Ann Jamison | Date: | Fri, 16 Nov 2001 12:44:27 +0000 |
| Subject: | php switch() problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-74933@lists.php.net to get a copy of this message | ||
I'm using switches to make liunks like www.link.com?go=home
code :
switch($go) {
case "home":include ("home.php");
break;
}
etc, also tried require stead of include.
what i get is the requested liunk loaded on top of the index.php page on the
same page, check it out @ www.ribec.airann.com
what can be done to stop this?