Is there any advantage to using or not using the following code
if (!isset($_SESSION['var']))
{
//Do stuff here
}
Verses this code
if (!$_SESSION['var'])
{
//Code goes here
}
I have tried both and they both do the same thing from what I can tell.
Thanks.