Mateo Mateo - 3 months ago 7x
PHP Question

How to display something in HTML when #error is added at end of URL

This is my situation, I have a login page and in the functions folder there is the php for that, say the page is, upon login error it redirects to

Essentially I'm trying to figure out how to add code that only shows when you are on the #error page.


redirect with url like this:

then, use this code for get the message:

    echo $_GET['error'];