Presentation is loading. Please wait.

Presentation is loading. Please wait.

Creating Dynamic Web Sites Part 2

Similar presentations


Presentation on theme: "Creating Dynamic Web Sites Part 2"— Presentation transcript:

1 Creating Dynamic Web Sites Part 2
Chapter 3 Creating Dynamic Web Sites Part 2

2 One Page One page to display and handle the form.
if (/* form has been submitted */) { // Handle the form } else { // Display the form }

3 if ($_SERVER[‘REQUEST_METHOD’]==‘POST’) { // Handle the form } else { // Display the form }

4 calculator.php Script 3.5 on page 87
ch03\script_03_05\calculator.php

5 STICKY FORM Remembers how you have filled it out if the form must be resubmitted.

6 calculator.php Script 3.6 on pages 92-93
ch03\script_03_06\calculator.php


Download ppt "Creating Dynamic Web Sites Part 2"

Similar presentations


Ads by Google