OK I have been doing some studying and saw the basics of what I need to display a pop-up window confirmation page of the form results for the potential customer. I guess I have to input the
boldfaced html code below in my Order page to pass the form results to the php Confirmation page (I included the full example html form code to understand the variables "quantity" and "item")
Code:
<html><body>
<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>
</body></html>
Then I have to create a php Confirmation page with variables set to the "posted" html form values. Here is the basic code I found
Code:
<html><body>
<?php
$quantity = $_POST['quantity'];
$item = $_POST['item'];
echo "You ordered ". $quantity . " " . $item . ".<br />";
echo "Thank you for ordering from Tizag Art Supplies!";
?>
</body></html
So in my php Confirmation page I have to set a variable for every input checkbox I have in my html form? So if it is checked in the html Order form then it will be printed in the php Confirmation page?
Thanks,
JM