Hi,
Can anyone please explain what is wrong with this code. Yea, its a silly simple example I need to understand before I move on to the more complicated stuff. Thanks
[vba]<html><body bgcolor="#ffffff">
<h4>Tizag Art Supply Order Form</h4>
<form action="process.php" method="post">
<select name="item">
<option>Paint</option>
<option>Brushes</option>
<option>Erasers</option>
</select>
Quantity: <input name="quantity" type="text" />
<input type="submit" />
</form>
<?php
$quantity = $_POST['quantity'];
$item = $_POST['item'];
echo "You ordered ". $quantity . " " . $item . ".<br />";
echo "Thank you for ordering from Tizag Art Supplies!";
?>
</body></html>[/vba]
I know its in the form action part but thats what I can't figure out.