I would like when I get to the login page only a user with a certain login would enter the error when I access
php code:
if($_SESSION['login'] == 'admin')
{
echo "logado";
}
It gives error in the part of the session in if, as if it did not have.