Quote:How did you POST to processorder.php? You just said in the sentence above neither page worked...
Okay, this is what I did. I have this PHP book. & I am tryin this example..."Bobs Auto Parts order form"...This the script on the 1st page...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<--html>
<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>
</html-->
Then It said create a new doc. & put this code...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<--html>
<head>
<title>Bob's Auto Parts - Order Results</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<h1> Bobs Auto Parts</h1>
<h2> Order Results</h2>
<?php
echo "Order processed.";
?>
</body>
</html-->
Okay 1st just had the 2 files html & .php in a folder on the desk top, when I clicked submit. It went to the 2nd page, but I did not see the php "Order processed" words. Only the html basic text "Bobs Auto Parts Order results"....
Now, I know I had in in the wrong folder, now I am trying to put them in the right place...
I hope I am explain'ing my self right, because I really would like to get this to work...