Answers for "how to get value from cookie in php"

PHP
1

get a cookie in php

<?php
echo 'Hello ' . htmlspecialchars($_COOKIE["name"]) . '!';
?>
Posted by: Guest on October-01-2020
2

retrieving a cookie in php

$cookiename = $_COOKIE['COOKIE ID']
Posted by: Guest on June-01-2020

Browse Popular Code Answers by Language