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