Mateo Mateo - 1 year ago 76
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.

Answer Source

redirect with url like this:

then, use this code for get the message:

    echo $_GET['error'];
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download