PDA

View Full Version : What is the ?page= variable??


pdatotaal
09-24-2004, 06:09 PM
How can I check what the variable of adv_index.php?page= is?


if ($page==psion)
{
$forumid = 63;
}
elseif ($page==pocket)
{
$forumid = 25;
}


So if ?page=psion then $forumid = 63 and if ?page==pocket then $forumid = 25 and so on... (rather do it with the admincp and the page settings, but ok)


Somebody idea (Brian?)

pdatotaal
09-24-2004, 08:32 PM
I feel domb, try them all and it is $getpage. Sorry.
But if somebody have a idea how to put the $forumid = in the template would be very nice and safe a lot of code!!