submit image button - POST data is not being passed
Posted: Mon Jun 25, 2007 9:18 am
This is a bit strange. Does anyone know how to make it work. I have consulted this document and seems like I've done it right, still no luck.
http://uk2.php.net/variables.external
No data is being passed, newsLetter.php shows a complete blank page. I tried to echo something to test still nothing.
Note: it works fine when I use a button type submit. (i.e no image button).
http://uk2.php.net/variables.external
No data is being passed, newsLetter.php shows a complete blank page. I tried to echo something to test still nothing.
Note: it works fine when I use a button type submit. (i.e no image button).
Code: Select all
<form name="form_newsletter" method="post" action="newsLetter.php" onSubmit="return validateNewsLetter(form_newsletter);">
<table width="100%" border="0">
<tr>
<td colspan="3"><span class="style22">Please enter your email address</span> </td>
</tr>
<tr>
<td width="30%"><div align="right"><span class="style21 style22">News Letter </span></div></td>
<td width="47%" valign="top"><label>
<input name="news_email_txt" type="text" class="style13" />
</label></td>
<td width="23%"><label>
<input type="image" src="images/submit_newsletter.jpg" width="52" height="18" name="submit_newsletter" >
</label></td>
</tr>
</table>
</form>