Hi,
I'm a ColdFusion developer and I'm starting to learn PHP.
I'm trying to use a session variable to query a table and the query is returning 0 rows. I'm trying to check what the value is in the SESSION but when I echo the session it comes up blank.
echo $_SESSION['userid'];
How do you check if the session exists or if it's empty?
I'd appreciate any input. Thanks.