Reputation: 1
I do not know why the submit button doesn't work. When I click on it, nothing happens. What is What is Mistake don't know? Here is code:
<form action=members.php method=post>
<br><br><Center><table><tr><td colspan=2 align=center><h3>Members Login Area</h3></td></tr>
<tr><td>Member's ID</td><td><input type=text name=id></td></tr>
<tr><td>Password</td><td><input type=password name=password></td></tr>
<tr><td> </td><td>
<a href="forgot.php" onclick="doexit=false;"><font face="Verdana,Arial,Helvetica" size="1" color="#000000"><b>Forgot Your Password?</b></font></a></td></tr>
<tr><td colspan=2 align=center><input type=submit value="Log In"></td></tr>
</table></form>
Upvotes: 0
Views: 2145
Reputation: 57342
<input type=submit value="Log In">
should be
<input type='submit' value="Log In">
and its like type="something"
not type=something
the structure of input is
<input type='keyword' >
and keyword could be from this list (w3.org)
Upvotes: 2
Reputation: 5809
where is quotes ("). u missed quotes everywhere :P
<form action="members.php" method="post">
// Your code must be something like this.
<form action="members.php" method="post">
<br><br>
<center>
<table>
<tr>
<td colspan="2" align="center">
<h3>
Members Login Area
</h3>
</td>
</tr>
<tr>
<td>
Member's ID
</td>
<td>
<input type="text" name="id"></td>
</tr>
<tr>
<td>
Password
</td>
<td>
<input type="password" name="password">
</td>
</tr>
<tr>
<td>
</td>
<td>
<a href="forgot.php" onclick="doexit=false;">
<font face="Verdana,Arial,Helvetica" size="1" color="#000000">
<b>
Forgot Your Password?
</b>
</font>
</a>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" value="Log In">
</td>
</tr>
</table>
</center>
</form>
Upvotes: 2