Jump to content


Form Actions

  • Please log in to reply
1 reply to this topic

#1 supanoob

  • Members
  • PipPipPip
  • Advanced Member
  • 342 posts

Posted 22 July 2006 - 07:48 PM

<form method=\"POST\" action=\"mail.php?action=send&to=$sent_id\">
 <table border=\"0\" width=\"100%\" id=\"table2\">
				<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>
		<table border=\"0\" width=\"50%\" id=\"table3\" height=\"22\">
				<td align=\"center\"><textarea rows=\"5\" name=\"S1\" cols=\"55\"></textarea><br>
				<input type=\"button\" value=\"Send\" name=\"Send\"></td>

Can someone tell me why the form action for this form is not working?

#2 wildteen88

  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 22 July 2006 - 07:51 PM

Becuase your are using a button, rather than a submit button, change:
<input type=\"button\" value=\"Send\" name=\"Send\">
<input type=\"submit\" value=\"Send\" name=\"Send\">

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users