Hello everyone. :)
I knew it wouldn't be very long before I was back with another question.
I just created a login box on my site and I am having an issue with trying to echo an error back to the user. The page content is in a database and I tried to put echo $_SESSION['error']; and all I get is "echo $_SESSION['error'];" instead of the error string.
Can someone please advise of a better way to do this? I want to keep the page in the db but yet I still have to let the user know that there was a problem logging them in if need be.
Thanks,
Frank
I knew it wouldn't be very long before I was back with another question.
I just created a login box on my site and I am having an issue with trying to echo an error back to the user. The page content is in a database and I tried to put echo $_SESSION['error']; and all I get is "echo $_SESSION['error'];" instead of the error string.
Can someone please advise of a better way to do this? I want to keep the page in the db but yet I still have to let the user know that there was a problem logging them in if need be.
Thanks,
Frank
Comment