site that don't work: http://arcade.kxuk.info/ (new host that i planned to move to) site that work: http://gravite1k.gr.funpic.org/ (my old host still using but i want to switch) I am exposed to some php script error on this host. My site: http://arcade.kxuk.info/ (also my new host) Reason: There's a PHP script exception about this host. On the other host which my site didn't get this odd problem. Every time i clicked on a link on my site it shows me the same page.(?id=gamehosting which will direct me to the gamehosting page but it ended up staying at ?id=home) I need a php script expert here or something. Heres my PHP code: switch($id) { default: include('home.php'); break; case "gamehosting": include('gamehosting.php'); break; case "gamehosting1": include('gamehosting1.php'); well thats a short version because the long version is not necessary. Just asking how can i change the code so that it works for this host because i really like this host. I just brought a domain name which i was going to use it with this host. Thx in advance
switch($_GET['id']) { default: include('home.php'); break; case "gamehosting": include('gamehosting.php'); break; case "gamehosting1": include('gamehosting1.php'); would maybe solve your problem?