Download presentation
Presentation is loading. Please wait.
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’];
7
PHP Simple Calculator
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 :
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.