Which PHP function is used to create a cookie? code example
Example: php cookie
setcookie ('name', 'value', $expiresOn, $path, $domain, $secure, $httponly)
setcookie ('name', 'value', $expiresOn, $path, $domain, $secure, $httponly)