multiple variable includes
like for example in register there is $action, and it says close to the top if $action==(nothing) then action==$signup or something like that.
How would I have 2 variable includes, so action, and page, so if $page and $action== nothing, then by default $page=main will be used, and if action=dostuff, then $page will be ignored...etc
If this is even possible at all, please help, if it isn't, please warn me ahead of time, before I hunt for tutorials.
|