Home of web learners

www.webn3rd.com

PHP cookie is used to store data in user browser

It helps to identify user or other purpose where data stored in browser can help site

Lets start

<?php
$name="rakib"
$value="01314234234"
<?php
setcookie($name, $value");
?>

Here,in setcookie function we initialize data where first argument $name is name of cookie and in $value we set value for $name

webn3rd.com

About webn3rd