Courses Benefits

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.
This course provides the foundations for you to start writing PHP applications. You will learn the basics of the PHP language, processing web forms, as well as advanced concepts like Object-Oriented PHP. Course 221 has been updated for the latest version of PHP - version 5.

You Will Learn How To

  • Write effective, efficient PHP scripts
  • Use the Zend Studio IDE
  • Embed PHP scripts in HTML pages to create dynamic Web pages
  • Manipulate data from Web page forms
  • Track users as they navigate your site with sessions and other PHP features
  • Structure PHP code using user-defined functions and external libraries
  • Write object-oriented PHP applications
  • Develop database-enabled Web applications using MySQL
  • Create MVC-based applications using Laravel Framework

Who Should Attend

This PHP training course is valuable for those creating dynamic, database-driven Web sites. Basic experience with HTML or HTML knowledge with the level of 151 - Web Development with HTML5 and CSS3. is assumed. Prior programming experience and RDBMS knowledge is required.

Course Outline

Introduction to PHP

  • Introduction
  • PHP Tags
  • Variables
  • Data Types
  • Operations
  • Control Structures
  • Forms

Program Flow Control

  • Decision Control Structures
  • Repetition Control Structures
  • Branching Statements


  • Numerically Indexed Arrays
  • String Indexed Arrays
  • Multi-Dimensional Arrays
  • Array Manipulation Functions


  • Strings and Character Indexes
  • String Length
  • String Comparison
  • Formatting Strings
  • Finding and Replacing Substrings
  • Splitting and Joining Strings
  • HTML Encoding

Processing Forms

  • GET vs POST
  • Accessing Form Variables
  • Processing Form Elements


  • Defining Functions
  • Passing Parameters
  • Variable Scope
  • Returning Values
  • Require() and include()

Session Control

  • URL Rewriting
  • Hidden Fields
  • Cookies
  • Sessions
  • Garbage Collection

Working with MySQL

  • Setting up a Database Connection
  • Choosing a Database to Use
  • Inserting Data
  • Querying the Database
  • Reviewing the Query Results
  • Updating Records
  • Deleting Records
  • Disconnecting from the Database

Object-Oriented PHP

  • Declaring Classes
  • Creating Objects
  • Accessing Attributes
  • Calling Class Methods
  • Constructors and Destructors
  • Static Members
  • Inheritance
  • Member Visibility
  • Abstract Classes and Methods
  • Declaring and Implementing Interfaces

Regular Expressions

  • Basic Concepts
  • Finding Substrings
  • Replacing Substrings
  • Splitting Strings

Error Handling

  • Error Levels
  • Handling Errors
  • Handling Exceptions using try/catch
  • Subclassing Exceptions

Other Useful PHP Features

  • Data and Time Functions
  • Sending Mail from PHP Scripts
  • Page Redirection
  • Uploading Files
  • Altering the Runtime Environment
  • Formatting the HTML Output

Introduction to Laravel Framework

  • What is Laravel Framework
  • The MVC Design Pattern
  • Quickstart