Switch with get

Hey there,

i am working on a project with said project i am using dynamic urls so say i have index and then for the store page it would be ?page=store however i would like to get rid of the ?page and just have it ?store or ?contact i know how to do this with if’s but i would rather use a switch is it possible able to do it with out the ?page variable ?

Thanks!

Without using a proper URL argument and value your code will end up been way too complicated, the easiest and most assured way to go about this is to just continue using ?store=xxx.

And if you still want to simplify your URL, you can always use Mod_Rewrite rules (there is a separate forum here for help on that subject).