I seem to be getting an error in my PHP file. It was working earlier but now it just doesn't seem to work
The error I get is:
Notice: Undefined index: login_user in C:\wamp\www\catalogue.php on line 28
and Line 28 is:
Welcome, <?=$_SESSION['login_user'];?>! <br> <a href="logout.php">Logout</a>
Not sure why its giving me this error
The session login_user
is created in a login page which is then called in the catalogue page. For some weird reason it seems to trigger whenever I try to empty my cart.