JQuery Modal Box On PHP else die

Just wondering if there is a way to include a JQuery modal box/popup in the event of a PHP else die statement, e.g: else die("Invalid");.

So rather than the output Invalid displaying on the page, the else die triggers a JQuery modal popup box that contains the output Invalid.

Leave a Reply

*

Hire Me
Follow Me!
Search
Most Popular Articles & Pages
Because your vote is Important
Sorry, there are no polls available at the moment.
Categories