Jump to content

[SOLVED] Post is not working...


zackcez

Recommended Posts

Well here's my messy code:

				echo"<table class=\"tborder\" cellpadding=\"6\" cellspacing=\"1\" border=\"0\" width=\"100%\" align=\"center\">
				<tr><td class=\"thead\">Order</td></tr>
				<tr><td align=\"center\" class=\"panelsurround\"><div class=\"panel\"><div align=\"left\"><fieldset class=\"fieldset\"><legend>Licence Quantity</legend><div class=\"smallfont\" style=\"padding:3\">Please enter the quantity of <b>" . $product['name'] . "</b> licenses that you wish to obtain for <b>$price</b> each.</div><table cellpadding=\"0\" cellspacing=\"4\"><tr><td><input class=\"bginput\" size=\"2\" type=\"text\" name=\"quantity\" value=\"1\" /></td></tr></table>
				<form method=\"post\" action=\"index.php?pageid=products&do=confirm\">
				<input type=\"hidden\" name=\"pay\" value=\"$pay\">
				<input type=\"hidden\" name=\"id\" value=\"" . $product['id'] . "\">
				<tr><td class=\"thead\">License Agreement</td></tr><td class=\"panelsurround\" align=\"center\"><div class=\"panel\"><div align=\"left\">
				<fieldset class=\"fieldset\"><legend>Terms & Conditions</legend><div class=\"alt1\" overflow:auto style=\"border:thin inset; padding:6px; height:166px;\">
				Please take your time to read over our licence agreement;  If you fail to compel with it we have the right to get your software removed/and or take legal action against you.
				<style>
				<!--
				.pad3
				{
					padding: 3px;
				}
				-->
				</style>
				<ol><li class=\"pad3\"><b>Limitations</b> - You may only use each licence on one forum at a time;  If you wish to switch your licence over to a different forum, you have to ability through the usercp.
				<table cellpadding=\"2\" cellspacing=\"0\">
				</table></li>
				<li class=\"pad3\"><b>Copyright Removal</b> - You are under no circumstance may you remove the copyright on any of our products/licenced or not.  Although you may purchase copyright removal via usercp.</li>
				<li class=\"pad3\"><b>Liability</b> - By agreeing to our terms and conditions you agree that you will follow all of the above and that anything illegally you do you <font color=\"red\"><b>WILL</font></b> be your own problem </li>
				</ol></div>
				<div style=\"margin-top:4px;margin-bottom:4px\"><label for=\"agree_terms\"><input type=\"checkbox\" name=\"agree\" id=\"agree_terms\" value=\"1\" /><strong>I have read and agree to the Terms and Conditions.</strong></label><br />
				</div>
				</fieldset></div></div></td></tr><tr><td align=\"center\" class=\"tfoot\"><input class=\"button\" type=\"submit\" value=\"Continue\" /></td></tr></table></form></td></tr>";

That all turns up fine, but when I click submit nothing shows up, here's what I have for my confirm page:

$quantity = $_POST['quantity'];
echo $quantity;

Any suggestions :s?

Link to comment
https://forums.phpfreaks.com/topic/117261-solved-post-is-not-working/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.