Introduction to PHP Training

  4.7 out of 5 - Read Testimonials

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

  1. Learn how PHP works.
  2. Learn the basic syntax of PHP.
  3. Learn to create dynamic interactive pages with PHP.
  4. Learn to manipulate files with PHP.
  5. Learn to work with arrays in PHP.
  6. Learn to validate forms with PHP.
  7. Learn to write functions in PHP.
  8. Learn to manipulate and manage database data with PHP.
  9. Learn to authenticate users with PHP.
  10. Learn to manage sessions with PHP.
  11. Learn advanced form validation with regular expressions.
  12. Learn to send email with PHP.
  1. PHP Basics
    1. Welcome to the Server-side
      1. What is a web server?
      2. Dynamic Websites
    2. Google Chrome DevTools: Network Tab
      1. Status Codes
    3. How PHP Works
      1. The phpini File
      2. PHP Tags
      3. Hello, World!
    5. PHP Statements and Whitespace
    6. PHP Functions
    7. phpnet
    8. Exercise: Using phpnet
    9. Variables
      1. Variable Types
      2. Variable Names (Identifiers)
      3. Type Juggling and Casting
      4. Hello Variables!
    10. Exercise: First PHP Script
    11. Variable Scope
      1. Superglobals
    12. Single Quotes vs Double Quotes
    13. Concatenation
    14. Passing Variables on the URL
    15. Exercise: Passing Variables via the Query String
    16. User-defined Functions (UDFs)
      1. Defining and Calling Functions
      2. Default Values
      3. Variable Scope
      4. By Reference vs By Value
    17. Introduction to the Poet Tree Club
    18. Including Files
      1. require
      2. require_once
    19. Exercise: Using Header and Footer Includes
    20. Constants
    21. Error Reporting
    22. Exercise: Displaying Errors
      1. Including a Secure Configuration File
    23. Exercise: Including a Configuration File
  2. PHP Conditionals
    1. if / if - else / if - elseif - else
      1. Simple if Condition
      2. if-else Condition
      3. if-elseif-else statement
      4. False Equivalents: Falsy Values
    2. Testing for Variable Existence
    3. Exercise: Checking for Variable Existence
    4. switch/case
    5. Exercise: Working with Conditions
    6. Ternary Operator
    7. Exercise: The Ternary Operator
    8. Null Coalescing Operator
  3. Arithmetic Operators and Loops
    1. Arithmetic Operators
    2. The Modulus Operator
    3. Loops
      1. while
      2. dowhile
      3. for
      4. break and continue
    4. Exercise: Working with Loops
  4. Arrays
    1. Indexed Arrays
      1. Initializing Arrays
      2. Appending to an Array
      3. Reading from Arrays
      4. Looping through Arrays
    2. Exercise: Working with Indexed Arrays
    3. Associative Arrays
      1. Initializing Associative Arrays
      2. Reading from Associative Arrays
      3. Looping through Associative Arrays
      4. Superglobal Arrays
    4. Exercise: Working with Associative Arrays
    5. Multi-dimensional Arrays
      1. Reading from Two-dimensional Arrays
      2. Looping through Two-dimensional Arrays
      3. Two-dimensional Associative Arrays
      4. Non-tabular Multi-dimensional Arrays
    6. Array Manipulation Functions
    7. in_array() Function
    8. Exercise: Array Practice
  5. Working with Databases
    1. Objects
    2. Attributes / Properties
    3. Behaviors / Methods
    4. Classes vs Objects
    5. Connecting to a Database with PDO
    6. Introducing the Poetree Database
    7. phpMyAdmin
    8. Querying Records with PHP
    9. Exercise: Creating a Single Poem Page
    10. Queries Returning Multiple Rows
    11. Exercise: Creating the Poems Listings
    12. Exercise: Adding Pagination
    13. Exercise: Sorting
    14. Exercise: Filtering
    15. Exercise: Adding Filtering Links to the Single Poem Page
  6. Exception Handling
    1. Uncaught Exceptions
    2. Throwing Your Own Exceptions
    3. Catching Exceptions
      1. Getting Information about Exceptions
    4. Exercise: Division Form
    5. PDOExceptions
    6. Exercise: Logging Errors
    7. Exercise: The dbConnect() Function
    8. When Queries Fail to Execute
    9. Exercise: Catching Errors in the PHP Poetry Website
  7. PHP and HTML Forms
    1. HTML Forms
      1. How HTML Forms Work
    2. Form Submissions
    3. Sanitizing Form Data
      1. htmlspecialchars()
      2. htmlentities()
      3. filter_var()
      4. filter_input()
    4. Validating Form Data
      1. Was the Field Filled In?
      2. Is the Entered Value an Integer?
      3. Is it an Email?
      4. Is it a Valid Password and Do the Passwords Match?
      5. Do the Combined Values Create a Valid Date?
      6. Did the User Check the Box?
    5. Exercise: Processing Form Input
  8. Sending Email with PHP
    1. mail()
      1. Shortcomings of mail()
    2. Setting Up PHPMailer
      1. Get and Install the Latest Version of PHPMailer
    3. Mail Server
    4. Exercise: Including a Mail Configuration File
    5. Sending Email with PHPMailer
    6. PHPMailer Methods and Properties
    7. Exercise: Creating a Contact Form
  9. Authentication with PHP and SQL
    1. The Registration Process
    2. Passwords and Pass Phrases
    3. Registration with Tokens
    4. Exercise: Creating a Registration Form
    5. Sessions
      1. Session Variables
    6. Cookies
    7. Exercise: Logging in
    8. Logging Out
    9. $_REQUEST Variables
    10. Exercis9: Resetting the Pass Phrase
  10. LAB: Inserting, Updating, and Deleting Poems
    1. Exercise: Submitting a New Poem
    2. Exercise: Editing an Existing Poem
    3. Exercise: Deleting a Poem
  11. Uploading Files
    1. Uploading Images via an HTML Form
    2. Resizing Images
    3. Exercise: Uploading a Profile Picture
Class Materials

Each student in our Live Online and our Onsite classes receives a comprehensive set of materials, including course notes and all the class examples.

Class Prerequisites

Experience in the following is required for this PHP class:

  • HTML

Experience in the following would be useful for this PHP class:

  • CSS
  • Basic Programming
Follow-on Courses

Training for your Team

Length: 4 Days
  • Private Class for your Team
  • Online or On-location
  • Customizable
  • Expert Instructors

Training for Yourself

$1,580.00 or 4 vouchers

Upcoming Live Online Classes

  • See More Classes

Please select a class.
  • Live Online Training
  • For Individuals
  • Expert Instructors
  • Guaranteed to Run
  • 100% Free Re-take Option
  • 1-minute Video

What people say about our training

I was expecting good interaction and real world examples, but I got far more than that. You could tell that the instructor loved what he was doing and as a result it showed in his teaching.
Bracey Fuenzalida
Dominion Endeavors
The instructor was knowledgeable and high-energy. I will take her classes again in the future!
Heidi Menchaca
Newmeasures, Inc.
The Introduction to PHP class gave me a good foundation for exploring PHP further. The instructor is terrific!
Karen Schwartz
college of william & mary
Very impressed with the registration process, course set up and course delivery. Instructor was very knowledgeable of the subject matter.
Laura Williams
Pierpont C&TC

No cancelation for low enrollment

Certified Microsoft Partner

Registered Education Provider (R.E.P.)

GSA schedule pricing


Students who have taken Instructor-led Training


Organizations who trust Webucator for their Instructor-led training needs


Satisfaction guarantee and retake option


Students rated our Introduction to PHP Training trainers 9.33 out of 10 based on 35 reviews

Contact Us or call 1-877-932-8228