how to store data in cookies in php code example Example: retrieving a cookie in php $cookiename = $_COOKIE['COOKIE ID']