Monday, December 12, 2011

How to check whether session variable is created or not in php?

How to check whether session variable is created or not in php?|||You can use isset function to check whether variable is set or not.





example





if(isset($_SESSION['id'])))


{


your statemenets


}

No comments:

Post a Comment