Hosted by IX Web Hosting

Lab 7 HTML Form with PHP Script
Get Preferences and Return Them

Web Hosting Control Panel - Login

MySQL Tutorial
tizag.com-- MySQL with PHP Scripts
For Lab 7 we use an HTML input Form and a PHP script to display the results.

Your zip code:

Your favorite topping:

Your favorite crust:

Description
The Form is in the code for this page.
In another file called by this one, pizzaEcho.php, the PHP scripts look like this:

     So you like pizza topped with < ? php echo htmlspecialchars($_POST['topping']); ?>

     on a < ? php echo htmlspecialchars($_POST['crust']); ?> crust

     and your zip code is < ? php echo htmlspecialchars($_POST['zip']); ?>


Go on to  Lab 8  or back to Lab 6.

— Peter's website can be found here
.

   Peter Schulte | January, 2009