How can i use cookies in php?
Cookies can be set in PHP using the setcookie()
function.
Example:
setcookie('user', 'JohnDoe', time() + 3600, '/');
Cookies can be set in PHP using the Example:How can i use cookies in php?
setcookie()
function.
setcookie('user', 'JohnDoe', time() + 3600, '/');