Hi I'm trying to make a cookie that will remeber a login but it says: Cannot use isset() on the result of an expression (you can use "null !== expression" instead)
. Can some one please help me?
The code that doesn't work is:
if(isset($_COOKIE['user']['id'] && !empty(isset($_COOKIE['user']['id']))){
...
}
i edited the code to: if (isset ($_logincookie['cookie_user'] && !empty($_logincookie['cookie_user']))){
but still the same problem