Wednesday, 11 September 2013

PHP isset method

PHP isset method

I am building a website where a login and register link is displayed. If
the user logs in the login link changes to a logout link which will unset
a variable. I am wondering if there is a better way to do this then
setting and unsetting a variable to be checked with isset()? I am
relatively new to this is why I ask I want to make sure my code is safe,
effective and efficient. Any insight on this would be greatly appreciated.

No comments:

Post a Comment