<form action="<?php echo $_SERVER['PHP_SELF']?>" method="post">
<table cellpadding="0" cellspacing="0">
<tr>
<td height="35" width="80">Username:</td>
<td><input type="text" name="username"></td>
</tr>
<tr>
<td height="35">Password:</td>
<td><input type="password" id="pass" name="pass"></td>
</tr>
</table>
<input type="submit" name="submit" value="Login">
<input name="submit" type="image" src="./images/button.png" style="width: 160px; height: 25px; margin-left: 35px; margin-bottom: -20px; margin-top: 20px;"><a href="" style="color: white; text-decoration: none; font-weight: bold; position: relative; top: 12px; left: -95px; font-size: 12px;">Login</a>
</form>
I have that code for a login form. When I click the first button (simple button, no alterations), it works perfectly fine.
However, when I click on the second login button, the one with all the graphic alterations (which is an image) all that happens is that the page reloads - meaning that the information has not been submitted. The same happens if I press on the "Login" text in the <a></a> tags.
Any help in solving this??