@ceaser333 ha detto in Reindirizzamento con messaggio di errore?:

Hello everybody,
I am very new to php and am just playing around with a login script
I have a login.html page which redirects to main.php
main.php checks if a [user] session is set up and redirects to the login page if not
What should I look into now to show a thinking red line running across the top of the login screen with "Error, you need to log in" or something https://tutuappx.com/?
would a div already set up and just get a session error set or something?
not specifically after the answer, but rather what I need to look into so that I can read, do and learn
Thank you

I got this,..