supanoob Posted July 22, 2006 Share Posted July 22, 2006 [code]<form method=\"POST\" action=\"mail.php?action=send&to=$sent_id\"> <table border=\"0\" width=\"100%\" id=\"table2\"> <tr> <td width=\"238\"> <input name=\"T1\" size=\"8\" value=\"$to\" style=\"float: right\"></td> <td><input type=\"text\" name=\"T2\" size=\"47\" value=\"$subject\"></td> </tr> </table> <table border=\"0\" width=\"50%\" id=\"table3\" height=\"22\"> <tr> <td align=\"center\"><textarea rows=\"5\" name=\"S1\" cols=\"55\"></textarea><br> <input type=\"button\" value=\"Send\" name=\"Send\"></td> </tr> </table> </td> </tr></table></td></form>[/code]Can someone tell me why the form action for this form is not working? Link to comment https://forums.phpfreaks.com/topic/15347-form-actions/ Share on other sites More sharing options...
wildteen88 Posted July 22, 2006 Share Posted July 22, 2006 Becuase your are using a button, rather than a submit button, change:[code]<input type=\"button\" value=\"Send\" name=\"Send\">[/code]to:[code]<input type=\"submit\" value=\"Send\" name=\"Send\">[/code] Link to comment https://forums.phpfreaks.com/topic/15347-form-actions/#findComment-62165 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.