Hello all - first query of the week!
What would be the syntax for comparing data against two different session variables? I can't seem to get it quite right.
What I want it to do is check there's a logged in session and check whether the email session is blank if so echo something:
The first comparison is fine but can't get the second bit right.PHP Code:If (isset($_SESSION['loggedIn'])) && ($_SESSION['email']) != '')
{
echo 'blah';
}
Ta!








Bookmarks