php storing user details in cookies and retrieve code example Example: retrieving a cookie in php $cookiename = $_COOKIE['COOKIE ID']