while passing $_SESSION['var'] to function, if $_SESSION['var'] is unset, I’m getting Notice:
Notice: Undefined index: var in scripname.php on line 49
Is there safer way to obtain $_SESSION['var'], which will give me 0 if $_SESSION['var'] is unset?
Thank you in advance!!
1 Answer