PHP: Introduction

2 Day Course
Hands On
Code MT093

Book Now - 1 Delivery Method Available:

Classroom Virtual Classroom Private Group - Virtual Self-Paced Online


PHP applications are popular, easy to code and can run on any server or operating system. PHP can be integrated directly within your HTML code and allows information to be accessed from any data source. This two day intensive course will introduce you to the fundamentals of PHP and show you how to build complete applications that include the use of cookies and sessions, creating functions and arrays to use in PHP code, sending email and processing forms using PHP.

This is a comprehensive and practical introduction to PHP. Feel free to tailor the following course outline to your exact requirements if you wish.

Training Partners

We work with the following best of breed training partners using our bulk buying power to bring you a wider range of dates, locations and prices.


Hide all

Introduction (3 topics)

  • PHP and how it works
  • Your first PHP page
  • Different functions: Print, Echo and Print F

Variables and identifiers (9 topics)

  • Working with Identifiers
  • Variables, String, Number
  • The 'here doc' function
  • The Math operators
  • Using constants
  • Concatenation
  • Shorthand operators
  • Using Expressions
  • Using variables and variable scope

Conditional statements (6 topics)

  • Control statements
  • Logic and relational operators
  • Using 'If', 'Else if' and 'Else'
  • Switch operator
  • Comparison operators
  • Conditional operators

Loops (4 topics)

  • Using the While loop
  • Break statements
  • Continue statements
  • Using 'do...while', 'for', 'foreach'

Functions (7 topics)

  • Creating your own functions
  • Calling a function
  • Using arguments
  • Return statements and static statements
  • Scope of variables
  • Optional arguments
  • Dynamic, built-in and data functions

Arrays (2 topics)

  • Array assignments
  • Array functions

Form validation (5 topics)

  • Validating mandatory information
  • User friendly validation techniques
  • Using the setcookie function
  • Data functions
  • String functions

Advanced forms (5 topics)

  • Working with drop down menus
  • Checkboxes and radio buttons
  • Comparison functions
  • Using Strcmp()
  • Using Strcasesmp()

HTTP (3 topics)

  • HTTP basics
  • Headers
  • Environment variables

Cookies (4 topics)

  • Setting cookies
  • Reading cookies
  • Deleting cookies
  • When to use cookies

Session variables (4 topics)

  • Setting sessions
  • Storing session variables
  • Reading sessions
  • Deleting sessions

Email function (2 topics)

  • Creating auto-responder
  • Using email to accept simple on-line orders

Built in functions (4 topics)

  • Include()
  • Require()
  • Include_once()
  • Require_once()

- (3 topics)

  • Overview of MySQL
  • Overview of PHP and XML

Questions and answers

Course PDF


Share this Course


Recommend this Course