Introduction to PHP Lesson 6.

Slides:



Advertisements
Similar presentations
 2001 Prentice Hall, Inc. All rights reserved. 1 Chapter 7 - JavaScript: Introduction to Scripting Outline 7.1 Introduction 7.2 Simple Program: Printing.
Advertisements

 2002 Prentice Hall. All rights reserved. Chapter 9: Servlets Outline 9.1 Introduction 9.2 Servlet Overview and Architecture Interface Servlet and.
 2004 Prentice Hall, Inc. All rights reserved. Chapter 21 – Web Servers (IIS and Apache) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3 System.
SERVER web page repository WEB PAGE instructions stores information and instructions BROWSER retrieves web page and follows instructions Server Web Server.
Automatic Information Retrieval from Bioinformatics Websites Kang Peng.
PHP Scripts HTML Forms Two-tier Software Architecture PHP Tools.
Multiple Tiers in Action
PHP Scripts HTML Forms Two-tier Software Architecture PHP Tools.
1 Web Servers (IIS and Apache) Outline 9.1 Introduction 9.2 HTTP Request Types 9.3 System Architecture 9.4 Client-Side Scripting versus Server-Side Scripting.
WXET 3310 WEB APPLICATION DEVELOPMENT AINUDDIN WAHID ABDUL WAHAB
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Tutorial 30 – Bookstore Application: Client Tier Introducing.
Validating, Promoting, & Publishing Your Web Site Writing For the Web The Internet Writer’s Handbook 2/e.
Lesson 7 – World Wide Web. What is the World Wide Web?  The content of the worldwide web is held on individual web pages gathered together to form websites.
1 © Netskills Quality Internet Training, University of Newcastle HTML Forms © Netskills, Quality Internet Training, University of Newcastle Netskills is.
 2003 Prentice Hall, Inc. All rights reserved. Introduction to HTML: Frames Outline 1 Introduction 2 frameset Element 3 Nested frameset s 4 Web Resources.
CSC317 – INTERNET PROGRAMMING CSC318 – DYNAMIC WEB APPLICATION DEVELOPMENT BY: MUHD EIZAN SHAFIQ BIN ABD AZIZ FACULTY of COMPUTER and MATHEMATICAL SCIENCES.
1 CSC317/318 INTERNET PROGRAMING / DYNAMIC WEB APPLICATION DEVELOPMENT Siti Nurbaya Ismail Faculty of Computer & Mathematical Sciences, Universiti Teknologi.
 2003 Prentice Hall, Inc. All rights reserved. Introduction to HTML: Tables Outline 1 Introduction 2 Basic HTML Tables 3 Intermediate HTML Tables and.
Chapter 29 World Wide Web & Browsing World Wide Web (WWW) is a distributed hypermedia (hypertext & graphics) on-line repository of information that users.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
 2001 Prentice Hall, Inc. All rights reserved. Chapter 7 - Introduction to Common Gateway Interface (CGI) Outline 7.1Introduction 7.2A Simple HTTP Transaction.
Introduction to Web & HTML
Javascript JavaScript is what is called a client-side scripting language:  a programming language that runs inside an Internet browser (a browser is also.
Adapted from  2012 Prentice Hall, Inc. All rights reserved. 5 th ed: Chapter 2 and th ed: 4.11 SY306 Web and Databases for Cyber Operations.
Introduction to Forms in HTML WebPages Mrs. Mustoe.
1 An Introduction to Dreamweaver and PHP Part C: Setting Dreamweaver up to handle file transferring FTP.
Web Application Development 1 Course Introduction.
PHP – Hypertext Preprocessor.
MVC Controllers TestsMigrations Ye Olde Internet Model DB Server Router View Browser Today’s focus Controller.
4.01 How Web Pages Work.
4.01 How Web Pages Work.
Chapter 7 - Introduction to Common Gateway Interface (CGI)
Web Systems & Technologies
4.01 How Web Pages Work.
Development of Web Applications - Introduction
Section 6.3 Server-side Scripting
Introduction to web development concepts
HTML & teh internets.
Development of Web Applications – Introduction revisited
Chapter 2 Client/Server Applications
Sec (4.3) The World Wide Web.
Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CASE STUDY -HTML,URLs,HTTP
Our Lady of the Rosary College S3 Computer Literacy
Chapter 5 Introduction to XHTML: Part 2
PHP / MySQL Introduction
14-мавзу. Cookie, сеанс, FTP и технологиялари
Tutorial (4): HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Essentials of HTML.
Simple PHP application
Introduction to Web & HTML
Essentials of Web Pages
Essentials of HTML.
Web Design and Development
Introduction to Web & HTML
PHP and Forms.
COMP 101 Introduction.
Course Guide CT 1501.
Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
MVC Controllers.
MVC Controllers.
DR. JOHN ABRAHAM PROFESSOR UTPA
Introduction to HTML: Forms
MVC Controllers.
4.01 How Web Pages Work.
Client-Server Model: Requesting a Web Page
Hypertext Preprocessor
Your computer is the client
Introduction to JavaScript
© 2017, Mike Murach & Associates, Inc.
Presentation transcript:

Introduction to PHP Lesson 6

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’];

PHP Simple Calculator

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>

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: http://userpages.umbc.edu/~glong/notes/notes.php?topic =php&file=notes00.html PHP Introduction.URL : http://staffweb.cms.gre.ac.uk/~k.mcmanus/comp1037/ph p/Introduction.html Zend: The PHP Company. URL : http://www.zend.com/zend/art/intro.php