PHP is used to create dynamic web sites. Students will learn to syntax and structure of PHP. Students will learn to collect data from a web-based form and use it to create dynamic web pages for their users. Students will need access to a web server that supports PHP.
Objectives
Students will install a web server and PHP and create a basic PHP script.
Students will write PHP code that defines and uses variables.
Students will write PHP code that handle data received from HTML forms.
Students will write PHP code that works with numeric and string data.
Student will write PHP code that uses looping and conditional statements.
Students will write PHP code to work with data stored in arrays.
Students will create a basic web application.
Students will break their PHP code into reusable functions.
Students will explore writing PHP code to read and write to files, read and write to databases and work with Regular Expressions.
Students will create a project to show what they have learned in PHP.
Book
PHP for the World Wide Web
Author: Larry Ullman Publisher: Peachpit Press ISBN: 0321442490
Lesson 1: Getting Started
Read Chapter 1.
Lesson 2: Variables
Read Chapter 2
Lesson 3: HTML Forms and PHP
Read Chapter 3
Lesson 4: Numbers and Strings
Read Chapters 4 and 5
Lesson 5: Control Structures
Read Chapter 6
Lesson 6: Arrays
Read Chapter 7
Lesson 7: Creating Web Applications
Read Chapters 8 and 9
Lesson 8: Creating Functions
Read Chapter 10
Lesson 9: Advanced Topics
Read Chapters 11, 12 and 13
Lesson 10: Putting it All Together
Review the chapters covered in the book.
All content of this document is copyrighted by IDEA Solutions and the author. All rights reserved. Content may not be used without permission.