Hey all, posting from a form that looks like this
<form action="processorder.php" method=post>
<table>
<tr bgcolor=#cccccc>
<td width=150>Item</td>
<td width=15>Quantity</td>
</tr>
<tr>
<td>Tires</td>
<td align=center><input type="text" name="tireqty" size=3 maxlength=3></td>
</tr>
</table>
</form>
to processorder.php which looks like this
<?php
$str = $tireqty;
echo "<p>Order Processed.";
echo date("H:i, jS F");
echo "<br>";
echo "<p>Your order is as follows:";
echo "<br>";
echo $tireqty;
echo "l";
?>
The results come out like this
Order Processed.07:48, 26th January
Your order is as follows:
l
I know that the variables are being passed because when I use a GET they are displayed in the URL. I put the L as the last echo so that I know that it is executing all of the commands. Any help would be much appreciated. Thanks