I assign a cookie to a variable:
$user_cookie = $_COOKIE[\"user\"];
How can I check if the $user_cookie received some value or
$user_cookie
Try empty function in php http://php.net/manual/en/function.empty.php
You can also use isset http://www.php.net/manual/en/function.isset.php