PHP Training

How To Take This Class

Live Instructor-Led Online Class

Cost: $1,400.00

  • Open enrollment class for individuals
  • Live class with an instructor
  • Free class retakes forever!
  • Six months of instructor email support
  • Hands-on exercises and student labs
  • Classes never cancelled due to low enrollment
  • Money-back guarantee

Onsite or Offsite Group Training

Cost: Based on number of students

  • For groups as small as 3 people
  • Class Held at our location or yours
  • Hands-on exercises and student labs
  • Customization at no extra charge
  • Six months of instructor email support
  • All-inclusive pricing
  • Money-back guarantee
Request Group Pricing Proposal

Course Duration

4 Days

Course Description

In this PHP training course, students will learn to create database-driven websites using PHP and MySQL or the database of their choice.

Course Objectives

Upon successful completion of this course, students will be able to:
  • Understand how PHP works
  • Understand the basic syntax of PHP
  • Create dynamic interactive pages with PHP
  • Manipulate files with PHP
  • Work with arrays in PHP
  • Validate forms with PHP
  • Write functions in PHP
  • Manipulate and manage database data with PHP
  • Authenticate users with PHP
  • Manage sessions with PHP
  • Work with the MDB2 package
  • Understand advanced form validation with regular expressions
  • Send email with PHP

Course Audience

This course is designed for students with experience with HTML who wish to learn PHP.

Course Prerequisites

Experience in the following areas is required: HTML. Experience in the following areas would be beneficial: CSS, basic programming

Course Syllabus

  1. PHP Basics
    • How PHP Works
    • The php.ini File
    • Basic PHP Syntax
      • PHP Tags
      • PHP Statements and Whitespace
      • Comments
      • PHP Functions
      • Hello World!
    • Variables
      • Variable Types
      • Variable Names (Identifiers
      • Type Strength
      • Hello Variables!
      • Variable Scope
      • Superglobals
      • Constants
      • Variable-Testing and Manipulation Functions
    • First PHP Script
    • PHP Operators
    • Creating Dynamic Pages
      • Single Quotes vs. Double Quotes
      • Passing Variables on the URL
    • Passing Variables via the Query String
  2. Flow Control
    • Conditional Processing
      • If Conditions
    • Working with Conditions
      • Loops
      • while
      • do...while
      • for
      • break and continue
    • Working with Loops
  3. Arrays
    • Enumerated Arrays
      • Initializing Arrays
      • Appending to an Array
      • Reading from Arrays
      • Looping through Arrays
    • Working with Enumerated Arrays
    • Associative Arrays
      • Initializing Associative Arrays
      • Reading from Associative Arrays
      • Looping through Associative Arrays
      • Superglobal Arrays
    • Working with Associative Arrays
    • Two-dimensional Arrays
      • Reading from Two-dimensional Arrays
      • Looping through Two-dimensional Arrays
    • Array Manipulation Functions
  4. PHP and HTML Forms
    • HTML Forms
      • How HTML Forms Work
      • A Sample HTML Form
      • Form Variables
    • Processing Form Input
  5. String Manipulation
    • Formatting Strings
      • Concatenation
      • String Manipulation Functions
      • Examples of String Functions
    • Working with String Manipulation Functions
    • Magic Quotes
      • magic_quotes_gpc
      • magic_quotes_runtime
      • Recommendation on Magic Quotes
  6. Reusing Code and Writing Functions
    • Including Files
      • require
      • require_once
      • auto_prepend_file and auto_append_file
    • Adding a Header and Footer
    • User Functions
      • Defining and Calling Functions
      • Default Values
      • Variable Scope
      • By Reference vs. By Value
    • Form Processing
      • Code Organization
    • Form Validation and Presentation Functions
  7. Managing Data
    • Querying a Database
      • mysqli() Overview
      • mysqli Methods and Properties
      • Inserting and Updating Records
      • mysqli Prepared Statements
    • Inserting Records
  8. MDB2
    • Advantages and Disadvantages of MDB2
      • Why use a database abstraction layer?
      • When not to use a database abstraction layer?
    • Using MDB2
    • Creating a Customer Report
  9. Authentication with PHP and SQL
    • A Database-less Login Form
    • Authenticating Users
  10. Regular Expressions
    • Perl-compatible Regular Expression Functions
      • preg_match()
      • preg_replace()
      • Regular Expression Tester
    • Regular Expression Syntax
      • Start and End ( ^ $ )
      • Number of Occurrences ( ? + * {} )
      • Common Characters ( . d D w W s S )
      • Grouping ( [] )
      • Negation ( ^ )
      • Subpatterns ( () )
      • Alternatives ( | )
      • Escape Character ( )
    • Form Validation Functions with Regular Expressions
  11. Session Control and Cookies
    • Sessions
      • Configuring Sessions
      • Session Functions
    • Cookies
    • Authentication with Session Control
  12. Sending Email with PHP
    • mail()
      • Shortcomings of mail()
    • PHPMailer
    • Sending a Password by Email
  13. File System Management
    • Opening a File
      • fopen()
    • Reading from a File
      • fgets()
    • Writing to a File
      • fwrite()
    • Writing to a File
    • File Locking
      • flock()
    • Uploading Files via an HTML Form
    • Getting File Information
    • More File Functions
    • Directory Functions
      • Getting a Directory Listing
    • Creating a Resume Management Page