PHP Programming Training Course
This course focuses on teaching students the PHP programming skills they need to successfully build interactive, data-driven sites. Students will also learn the basics of MySQL to build the databases that will power their sites.
There are no scheduled event dates for PHP Programming at this time. Please contact us to schedule an online live-instructor led class or custom on-site training for groups of three or more students.
PHP Programming Course Outline
This course outline is based on the authorized curriculum for this class. The topics and specific tasks during the training may vary to suit the specific needs of the individual or group of students. Find all future event dates and pricing
Course Length: 3 Days
PHP Programming Course Prerequisites
There are no prerequisites for this course, however, students will be exptected to understand basic web development practices such as writing HTML and testing and deploying static web sites.
Lesson 1: PHP Development Basics
How PHP Works
The php.ini File
Basic PHP Syntax
PHP Tags
PHP Statements and Whitespace
PHP Functions
Variable Types
Variable Names
Variable Scope
Superglobals
Constants
Variable-Testing and Manipulation Functions
Variable Names
PHP Operators
Creating Dynamic Pages
Lesson 2: Flow Control
Conditional Processing
If Conditions
Loops
while
do...while
for
break and continue
Lesson 3: Building Arrays in PHP
Enumerated Arrays
Initializing Arrays
Appending to an Array
Reading from Arrays
Looping through Arrays
Initializing Arrays
Appending to an Array
Associative Arrays
Initializing Associative Arrays
Reading from Associative Arrays
Looping through Associative Arrays
Superglobal Arrays
Two-dimensional Arrays
Reading from Two-dimensional Arrays
Looping through Two-dimensional Arrays
Reading from Two-dimensional Arrays
Looping through Two-dimensional Arrays
Array Manipulation Functions
Lesson 4: Building HTML Forms with PHP
HTML Forms
How HTML Forms Work
A Sample HTML Form
Form Variables
Lesson 5: String Manipulation
Formatting Strings
Concatenation
String Manipulation Functions
Examples of String Functions
Magic Quotes
magic_quotes_gpc
magic_quotes_runtime
Lesson 6: Reusing Code and Writing Functions
Including Files
require
require_once
auto_prepend_file and auto_append_file
User Functions
Defining and Calling Functions
Default Values
Variable Scope
By Reference vs. By Value
Form Processing
Code Organization
Lesson 7: Simple SELECT Statements in PHP
Some Basics
Whitespace and Semi-colons
Case Sensitivity
SELECTing All Columns in All Rows
SELECTing Specific Columns
Sorting Records
Sorting By a Single Column
Sorting By Multiple Columns
Sorting By Column Position
Ascending and Descending Sorts
The WHERE Clause and Operator Symbols
Checking for Equality
Checking for Inequality
Checking for Greater or Less Than
Checking for NULL
WHERE and ORDER BY
The WHERE Clause and Operator Words
The BETWEEN Operator
The IN Operator
The LIKE Operator
The NOT Operator
Checking Multiple Condition, AND, OR
Lesson 8: Subqueries, Joins and Unions
Subqueries
Joins
Table Aliases
Multi-table Joins
Table Aliases
Multi-table Joins
Outer Joins
Unions
UNION ALL
UNION Rules
Lesson 9: Inserting, Updating and Deleting Records
INSERT
UPDATE
DELETE
Authentication with PHP and SQL
A Database-less Login Form
Lesson 10: Session Control and Cookies
Sessions
Configuring Sessions
Session Functions
Configuring Sessions
Session Functions
Cookies
Conclusion
Lesson 11: Sending Email with PHP
mail()
Shortcomings of mail()
Shortcomings of mail()
PHPMailer
Conclusion
Lesson 12: File System Management
Opening a File
Reading from a File
Writing to a File
File Locking
Uploading Files via an HTML Form
Getting File Information
More File Functions
Directory Functions
Getting a Directory Listing




