Captainhams Posted April 27, 2007 Share Posted April 27, 2007 Hey all I am making a user login system, on the main login page it first gets the contents of a "logged-in" session cookie then sets it to a variable. How can i make something that will check if the variable is empty or not? :-\ Thanks! Quote Link to comment Share on other sites More sharing options...
taith Posted April 27, 2007 Share Posted April 27, 2007 if(!empty($var)){} Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.