
write this code in the console and run 🙂
Hey fellows! How you doin! Today we want to talk about dates on php. But before that we should know about GMT timezone and Unix Timestamp. GMT timezone : it’s that the time of Greenwich is the center of the world clock , and the time of every other place is measured comparing to Greenwich […]
session_unset() unsets all session variables ($_SESSION[]) example 1: [code language=”php”] session_start(); $_SESSION[‘name’]=”Mehdi”; echo $_SESSION[‘name’]; session_unset(); echo $_SESSION[‘name’]; [/code] Output:Â Mehdi Notice: Undefined index: name on line 4