|
Javascript using PHP/SQL
I've got a web page which has a form on it. When the Submit is clicked, it saves all the information to a database (SQL) using PHP.
I've got PHP validation for the email and currently when the email is incorrect it redirects to a different page with the same design but with the text 'Incorrect Email'.
However I want it to redirect to the same current page, but use javascript/jQuery to show 'Incorrect Email'.
Any ideas of how I would do this, if it is possible.
Thanks.
Last edited by ryan1234; 12-12-2012 at 08:08 PM..
|