Good Morning! I have a variable “var” which maybe 0. I check if the variable is null and if it is not I save this variable in a php session and i call another page. In this new page I check if the session I’ve created is empty or not, but when it is 0 it returns that the session is empty. It does not sound so crazy! But even if I use
if($_SESSION['SESS_NUM']!=NULL)
it stil can;t see the 0 number as 0. Is there any way to check the 0? The content of the variable “var” comes from an sql query(the function with the sql query returns
$f_result[thenum];
Do you mean: