Forum Moderators: phranque
IF ($login == "accepted")
{
IF ($selection == "chat")
{
LOAD CHAT APPLET
}
ELSE IF ($selection == "forums")
{
LOAD FORUM SCRIPTS
}
}
ELSE
{
DISPLAY LOGIN ERROR
}
I hope this helped you out in some way. If you are using PHP, you may want to use the session functions which are built-in to the intrepreter. This will make your life a lot easier when passing data between the forums/chat.
Justin Dalrymple snipped
(edited by: DaveAtIFG at 10:18 pm (utc) on Jan. 13, 2002)