HTML Forms What are clients? What are servers?

Slides:



Advertisements
Similar presentations
PHP: Date() Function The PHP date() function formats a timestamp to a more readable date and time.
Advertisements

WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Dreamweaver Forms Overview. Forms – A Little Review Most user/webpage communication is one way, like this: Most user/webpage communication is one way,
1 Chapter 5 – Handling HTML Controls in Web Pages spring into PHP 5 by Steven Holzner Slides were developed by Jack Davis College of Information Science.
Chapter 3 Tables and Page Layout
XP 1 Creating Web Page Forms Designing a Product Registration Form Tutorial 6.
Creating Web Page Forms. Objectives Describe how Web forms can interact with a server-based program Insert a form into a Web page Create and format a.
Tutorial 6 Working with Web Forms
Computing Concepts Advanced HTML: Tables and Forms.
Multiple Tiers in Action
Python and Web Programming
Intermediate PHP & MySQL
Tutorial 6 Working with Web Forms. XP Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create.
HTML Tables and Forms Creating Web Pages with HTML CIS 133 Web Programming Concepts 1.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
Chapter 3. Table have many uses in a HTML design but are mostly used for the organization of your web site. Tables also give vertical and horizontal structure.
MS3304: Week 4 PHP & HTML Forms. Overview HTML Forms elements refresher Sending data to a script via an HTML form –The post vs. get methods –Name value.
PHP Tutorials 02 Olarik Surinta Management Information System Faculty of Informatics.
Reading Data in Web Pages tMyn1 Reading Data in Web Pages A very common application of PHP is to have an HTML form gather information from a website's.
XP Tutorial 6New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Creating Web Page Forms Designing a Product Registration Form Tutorial.
XP Tutorial 6New Perspectives on HTML and XHTML, Comprehensive 1 Creating Web Page Forms Designing a Product Registration Form Tutorial 6.
1 Creating Web Forms in HTML Web forms collect information from customers Web forms include different control elements including: –Input boxes –Selection.
© Yanbu University College YANBU UNIVERSITY COLLEGE Management Science Department © Yanbu University College Module 6:WEB SERVER AND SERVER SIDE SCRPTING,
Homework for October 2011 Nikolay Kostov Telerik Corporation
Web Technologies Website Development Trade & Industrial Education
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 7: Web Forms © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page Design.
Website Development with PHP and MySQL Saving Data.
1 HTML Forms
1 © Netskills Quality Internet Training, University of Newcastle HTML Forms © Netskills, Quality Internet Training, University of Newcastle Netskills is.
PHP2. PHP Form Handling The PHP $_GET and $_POST variables are used to retrieve information from forms, like user input. Name: Age:
HTML : Forms, Frames Instructor: Mr. Ahmed Al Astal ITGD4104 Department Requirement for senior student University of Palestine Faculty of IT.
CHAPTER 7 Form & PHP. Introduction All of the following examples in this section will require two web pages. The first page retrieves information posted.
PHP Form Introduction Getting User Information Text Input.
Tutorial 6 Working with Web Forms. XP Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create.
HTML ( HYPER TEXT MARK UP LANGUAGE ). What is HTML HTML describes the content and format of web pages using tags. Ex. Title Tag: A title It’s the job.
HTML Forms Chapter 9 pp Basic Form Join our list Name:
1 HTML forms (cont.)
® IBM Software Group © 2006 IBM Corporation JSF Rich Text Area Component This Learning Module describes the use of the JSF Rich Text Area component – for.
HTML FORMS The TEXT Object Presented By: Ankit Gupta.
Week 10: HTML Forms HNDIT11062 – Web Development.
Basic Webpage Design HTML Forms. Objectives Learn how to use HTML to create a form. Explain the concept of forms Know the difference of GET and POST Discuss.
HTML Forms. A form is simply an area that can contain form fields. Form fields are objects that allow the visitor to enter information - for example text.
HTML Structure II (Form) WEEK 2.2. Contents Table Form.
HTML Tables Tables are defined with the tag. A table is divided into rows (with the tag), and each row is divided into data cells (with the tag). td stands.
XP Tutorial 6New Perspectives on HTML, XHTML, and DHTML, Comprehensive 1 Creating Web Page Forms Designing a Product Registration Form Tutorial 6.
2440: 141 Web Site Administration Web Forms Instructor: Joseph Nattey.
Section 10.1 Define scripting
CSE 103 Day 20 Jo is out today; I’m Carl
How to Write Web Forms By Mimi Opkins.
Positioning Objects with CSS and Tables
Chapter 19 PHP Part III Credits: Parts of the slides are based on slides created by textbook authors, P.J. Deitel and H. M. Deitel by Prentice Hall ©
Section 17.1 Section 17.2 Add an audio file using HTML
ITE 115 Creating Web Page Forms
PHP: Output Formatting
HTML Forms and User Input
Unit I: Collecting Data with Forms
Web Systems Development (CSC-215)
Chapter 7 - JavaScript: Introduction to Scripting
In Class Program: Today in History
JavaScript: Introduction to Scripting
Integrating JavaScript and HTML
In Class Programming BIS1523 – Lecture 11.
CNIT 131 HTML5 - Forms.
Chapter 7 - JavaScript: Introduction to Scripting
Chapter 7 - JavaScript: Introduction to Scripting
Advanced Concepts and AJAX
Positioning Objects with CSS and Tables
Introduction to JavaScript
Chapter 7 - JavaScript: Introduction to Scripting
Presentation transcript:

HTML Forms What are clients? What are servers? What is PHP? How does it resemble HTML? What is different from HTML? How are variables written in PHP? How do HTML forms pass variables to a PHP script? What is the difference between the GET and POST method for a form?

Any person on the Web can browse to: User SPARTY’s Web Page in AFS: MSU Web Pages are Files in AFS Any person on the Web can browse to: http://www.msu.edu/~sparty/day06.html MSU Web Server www.msu.edu User SPARTY’s Web Page in AFS: u:\msu\user\s\p\sparty\web\day06.html

CSE 103 PHP Scripts are Files in AFS Any person on the Web can browse to: http://cse103.egr.msu.edu/afs/msu/user/s/p/sparty/ web/form_handler.php CSE 103 Web Server with PHP cse103.egr.msu.edu User SPARTY’s Web Page in AFS: u:\msu\user\s\p\sparty\web\ form_handler.php

HTML Forms and PHP What tag is makes a text field in a form? What tag is makes the button to submit a form? How does the form specify the location of the PHP page used to process the data submitted by the user? How does PHP refer to the values that were entered by the user into a form field? What command is used to print out the value of a form field in a PHP script? What parts of the PHP source do not appear as part of the HTML output of the PHP page?

Time Stamping a Page Use PHP functions to put a time stamp on your page time() returns the current time (in UNIX format) date() write the time in a human readable format The manual pages for these functions can be reached from the Classwork page for today Display the timestamp in the form Monday, March 22, 2002 1:23pm

On which day of the week were you born Modify the form Add boxes to find out the month, day, and year that the user was born on Modify the script Use the information about the date obtained from the form and the mktime() function to display the day of the week on which the user was born.

Formatting forms with tables Which tag is used to specify the start of the table? Which tag is used to specify a row? Which tag is used to specify a column? How do you specify how much of the window the table should take up horizontally? Where are the contents of the table cells?