I'm trying to do an example from a book, and when I fill in the form information, and hit submit, it doesn't read the numbers that I put in. Is this maybe a problem with my variables, and it not working with my default install?
Here is some of the code from the form
<form action="processorder.php" method=post>
<table border=0>
<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>
<tr>
<td>Oil</td>
<td align=center><input type="text" name="oilqty" size=3 maxlength=3></td>
</tr>
<tr>
<td>Spark Plugs</td>
<td align=center><input type="text" name="sparkqty" size=3 maxlength=3></td>
</tr>
<tr>
<td colspan=2 align=center><input type=submit value="Submit Order"><td>
</tr>
</table>
</form>
And here is part of the php code
<?
echo "<p>Order processed at ";
echo date("H:i, jS F");
echo "<br>";
echo "<p>You order is as follows:";
echo "<br>";
echo $tireqty." tires<br>";
echo $oilqty." bottles of oil<br>";
echo $sparkqty." spark plugs<br>";
?>
Sorry if that's over kill...just not quite sure why the results of $tireqty,$oilqty, and $sparkqty aren't showing up. the date(); is working, so I know php is working that much anyways.
Thanks in advance
J.