Show Error Message On Same PageJul 28, 2007
I have Index.php which contains the HTML form with a username and password field + submit button, action: is my check.php.
Say for example the user only input's a username and miss out the password field; when he clicks the submit button. I want the same page to be refreshed with a error message appearing below the submit button saying "error, please fill all in". I can get this to display on another page. but want this to be on refereshed on the log-in page.