Forum Moderators: coopster
<form name=\"info$order_id\" target=\"_new\" method=\"post\" action=\"components/com_confirmation/billing_shipping_info.php\">
<input name=\"order_id\" type=\"hidden\" value=\"$order_id\">
<input type=\"submit\" name=\"submit\" value=\"Billing/shipping\" class=\"button\"></table>" <form name="info103" target="_new" method="post" action="components/com_confirmation/billing_shipping_info.php">
<input name="order_id" type="hidden" value="103">
<input type="submit" name="submit" value="Billing/shipping" class="button"></form> When submitted all i ask him to do is this:
echo ".$_POST['order_id'].";
any help? thanks anyway u guys are great
echo <<<END
<form name="info103" target="_new" method="post" action="components/com_confirmation/billing_shipping_info.php">
<input name="order_id" type="hidden" value="$order_id">
<input type="submit" name="submit" value="Billing/shipping" class="button"></form>
END;
2. not echo ".$_POST['order_id']."; but
echo ".$_POST[order_id].";
you do not use ' for array key when it's inside "
or you can use
echo ".{$_POST['order_id']}.";
i loop forms as u might want to know so the first =
(this is as read from source code)
<form name="info_101" method="post" action="components/com_confirmation/billing_shipping_info.php" target="_new" >
<input type="hidden" value="101" name="order_id">
<input type="submit" value="Billing/Shipping info">
and this the second:
<form>
the second one is:
<form name="info_103" method="post" action="components/com_confirmation/billing_shipping_info.php" target="_new" >
<input type="hidden" value="103" name="order_id">
<input type="submit" value="Billing/Shipping info">
<form>
but when it opens the billing_shipping_info.php it always echo's 103 how the ... is this possible.... i have no where 103 in my scripts