Hi
I've just compiled linux apache mysql and PHP at home and i'm using index.php in the main html folder. This is working fine but i'm using a switch statment in the index page for navigation. It doesn't seem to be working tho, i can't figure out which option in the php.ini file i need to modify.
For example
index.php
switch($do)
{
default:
include 'default.inc';
break;
case news:
include 'news.inc';
break;
}
say if i have a link to http://www.mysite.com/index.php?do=news its not displaying that section of the switch statement.
Any ideas?
Thanks
Ant