I am having issues with trying to get functions to work correctly on my localhost for php. I know the php works because the initial call to load my index.php comes up fine, however, when I click a link like the one shown below, it simply reloads the page to the initial default function.
This is the link I would like to call.
localhost/Folder/code.php?act=view&PkId=1
This is my switch function:
switch($act) {
case "selection":
view_Selection();
break;
default:
view_Index();
break;
}
?>
Is there a setting in the php.ini I need to set to run functions or have I done something else wrong? I know the code works great already as I have it installed on my webhosting service with no issues.
Thanks.


