01132003 2014 CST

Ok. Im so happy that you guys explained the $_POST thing to me. Just implementing that in every tutorial after that worked.

Now, I have another problem.

This, again, is right out of the book. Everything in this book is in <?php tags. This code brings up a blank page. When you look at the source code through the browser all you see is <html><head></head></html>. What is it that I cannot see and my book will not tell me?

Wade

***************

<html>
<head>
<title>Charlies Menu</title>
</head>

<body>

<?php
$Entrees=array("Steak ($9)", "Pizza ($7)", "Pasta ($6)");
echo "<form method="POST" action="menu2.php">"
echo "Which of the following would you like as an entree?";
echo "<select name='ListBox1'>";
echo "<option selected value=' '>Select...</option>";
echo "<option>$Entrees[0]</option>";
echo "<option>$Entrees[1]</option>";
echo "<option>$Entrees[2]</option>";
echo "</select><br><br>";
echo "<input type="submit">";
echo "</form>";
?>

</body>
</html>


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to