posted 10 years ago
I have a login page having two fields username and password.
In the Login.html I have
<form method="post" action="checkLogin.php">
Username : <input type="text" name="username">
Password : <input type="password" name="password">
<input type="submit" value="Login">
</form>
In the checkLogin.php
I want to redirect to user to Login.html if username field or password field left blank.
How can I do that? How can I display error message also with redirection to Login.html.
Tea Addict, Oracle Java Programmer , Oracle SQL Expert , Oracle Java Web Component Developer, Oracle Web Service Developer