Page 1 of 1
display On/Off
Posted: Tue Jun 13, 2006 1:19 pm
by bobby9101
I ahve a login and logout script.
I would like it so that when someone logs in it defines a variable $on
and when they sign out it goes to $off
how can i do this?
Posted: Tue Jun 13, 2006 1:21 pm
by John Cartwright
what have you done so far?
Posted: Tue Jun 13, 2006 1:24 pm
by bobby9101
nothing really
i dont really know where to start
OK lemme give you some info
I have
in.php for loggin in
and out.php for logging out
and i know that i need to put something in the in.php so that when a user is verified as logging in it switches the status to on
and then i know i need something in out.php to switch the status back.
i just dont really know what.
i was trying to think it out with my limited php knowledge but my brain is fried