how to i use <? php ?> to delete cookies from web sight | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how to i use <? php ?> to delete cookies from web sight

i dont udnerstand what to do for this

15th May 2019, 3:21 AM
slick
slick - avatar
2 Answers
+ 1
<?php and ?> Are starting and ending tags of PHP i.e. the PHP code must be inside those tags. Secondly, To delete cookies, use unset function. Eg. unset($_COOKIE['Hello']); Please refer this tutorial - https://www.sololearn.com/learn/PHP/1843/
15th May 2019, 4:02 AM
Sachin Artani
Sachin Artani - avatar
+ 2
Thank you very much friend!
15th May 2019, 6:08 AM
slick
slick - avatar