Hiyas,
I want to check if a cookie is there then if it is empty
so far I can check if it is there
if(isset($_COOKIE['test1'])) {]PHP] now how would I check if test1 is empty? Thanks
Use the [man]empty()[/man] function!
if(empty($_COOKIE['test1']))
perfect ty 🙂
You're welcome!