create cooke in php code example
Example 1: retrieving a cookie in php
$cookiename = $_COOKIE['COOKIE ID']
Example 2: php cookie
setcookie ('name', 'value', $expiresOn, $path, $domain, $secure, $httponly)
$cookiename = $_COOKIE['COOKIE ID']
setcookie ('name', 'value', $expiresOn, $path, $domain, $secure, $httponly)