how to set cookie value in database column using php code example Example: retrieving a cookie in php $cookiename = $_COOKIE['COOKIE ID']