[SOLVED] Forms...
Posted: Thu Mar 17, 2005 10:54 am
Hi, on my website i have an image as a submit button, however, i would like the image button to act as a normal button, so that i can get the entered feilds with $_POST[]. Here is the current code for the form:
When i click the submit button, it takes me to index.php?a=user&b=pass, however i just want it to take me to index.php?page=loginp.
Does anyone know how i can do this?
Code: Select all
<td height="e;100%"e;><table width="e;233"e; height="e;100%"e; border="e;0"e; cellpadding="e;0"e; cellspacing="e;0"e;>
<tr>
<td height="e;87"e; align="e;left"e; valign="e;top"e; background="e;images/back_form.jpg"e;><div style="e;padding-left:10px; padding-top:12px"e;>
<table width="e;199"e; border="e;0"e; cellspacing="e;0"e; cellpadding="e;0"e;><form action="e;test.php?page=loginp"e;>
<tr align="e;right"e; valign="e;middle"e;>
<td width="e;52"e; height="e;24"e; class="e;style7"e;>Login:</td>
<td height="e;24"e;><input type="e;text"e; name="e;a"e; style="e;width:136px; height:15px; font-family:tahoma; font-size:9px; background-color:#9AB2A6 "e;></td>
</tr>
<tr align="e;right"e; valign="e;middle"e;>
<td width="e;52"e; height="e;24"e; class="e;style7"e;>Password:</td>
<td height="e;24"e;><input type="e;password"e; name="e;b"e; style="e;width:136px; height:15px; font-family:tahoma; font-size:9px; background-color:#9AB2A6 "e;></td>
</tr>
<tr align="e;left"e; valign="e;middle"e;>
<td colspan="e;2"e;><table width="e;100%"e; border="e;0"e; cellspacing="e;0"e; cellpadding="e;0"e;>
<tr align="e;right"e; valign="e;top"e;>
<td align="e;left"e;><a href="e;#"e; class="e;style8"e;>forgot the password?</a></td>
<td><input name="e;image"e; type="e;image"e; src="e;images/sobes.jpg"e; width="e;53"e; height="e;16"e;></td>
</tr>
</table></td>
</tr></form>
</table>
</div></td>
</tr>Does anyone know how i can do this?