Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to PHP Lesson 6.

Similar presentations


Presentation on theme: "Introduction to PHP Lesson 6."— Presentation transcript:

1 Introduction to PHP Lesson 6

2 PHP & Form Retrieve input from form and do processing
There are two ways the browser client can send information to the web server. The GET Method The POST Method There are two ways the web server retrieved the data send by web client. $_GET[‘variableName’]; $_POST[‘variableName’];

3

4

5

6

7 PHP Simple Calculator

8

9

10

11

12 Exercise 1 What will the following php display in the browser?
<HTML> <HEAD> <TITLE>PHP Exercise</TITLE><HEAD> <BODY> <?php $x = "<OL>"; $y = "<LI>"; $z = "</OL>"; print( "$x $y Sunday $y Monday $y Tuesday $z“); ?> <BODY> <HTML>

13 References C. Bates (2002). Web Programming: Building Internet Application. John Wiley & Sons : United States Of America H.M.Deitel, P.J. Deitel and T.R. Neito (2002). Internet & World Wide Web : How to Program. Prentice Hall: New Jersey. Introduction to PHP . URL: =php&file=notes00.html PHP Introduction.URL : p/Introduction.html Zend: The PHP Company. URL :


Download ppt "Introduction to PHP Lesson 6."

Similar presentations


Ads by Google