
PHP Essentials Course: Sydney & Melbourne: $995
Course Description
PHP is the most popular Server Scripting language. It is used to drive many of the largest web sites in the world and is used to produce dynamic web sites, often driven by a database such as MySQL. This course covers the basic techniques of writing scripts in PHP. It uses modern best practices to encourage readable and maintainable code. It also covers the basics of working with a database.
What you will learn
During the 2 day Introductory PHP course, the following topics are covered:
- — Preparing files for Including PHP
- — Processing form information
- — Uploading files
- — Creating Library and Configuration files
- — Working with a database
- — Creating an image table in the database
- — File Handling
- — Creating an image gallery
Who Should Attend and Prerequisites
Since PHP is an embedded language (in other words, blocks of PHP code can be inserted directly into the HTML), prospective students should have an understanding of HTML equivalent to the content covered in the HTML & Web Principles Training course. Some knowledge of CSS is desirable but not essential.
See the outline below for more in-depth detail:

Course Outline
Preparing Files
- Using PHP to Print Processed Data
- Using Include and require Statement
- Including Files
- Including HTML
- Preparing and Implementing Include
- Included Filename and Location
- Creating a Template System
Creating Forms with PHP
- Processing the Data
- Testing Using a URL
- Using the form GET method
- Using the form POST method
- Obtaining data from forms through variables
Re-Entrant Form Processing
- Sending Data Back to the Form
- Checking for Form Submission
- Displaying Form Data
Uploading Files
- File uploads from the browser
- Checking the Uploaded File
- Checking the File Type
- Handling the validation errors
- Persisting Fields
- Reading & writing and moving about in files
- Clearing the Error Array & Old Values
Library and Configuration Files
- Preparing a Configuration File config.php
- Using Conventions
- Using Constants
- $CONFIG Array
- Function Library
- Generating HTTP redirects
- Classes & Objects as Containers of Functions & Data
Database
- Preparing the Database
- Connection / disconnection to the database
- Building HTML tables using SQL Queries
- Using SQL Statements - INSERT, SELECT, UPDATE, DELETE
- SQL where Clauses
- Creating the Database & User
- PHP
- Using PHP Data Objects - PDO
Database
- Preparing the Database
- Connection/disconnection to the database
- Building HTML tables using SQL Queries
- Using SQL Statements - INSERT, SELECT, UPDATE, DELETE
- SQL where Clauses
- Creating the Database & User
- Using PHP Data Objects - PDO
Adding Images
- Creating the Images Table
- Adding Image Data to the Table
- Creating Global & Local Variables
File Handling
- Reading Text Files
- Splitting the Data Image copying and resizing
- Resetting the Table
The Image Gallery
- Outlining the Code
- Preparing the Page Gallery Page Data
- Selecting Multiple Image Records
- Constructing the img Elements
- Displaying Page Information
- Building Paging Buttons
- Displaying a Thumbnail
- l Using Cookies to Remember the Page
- Displaying a Random Image
PHP Training
COURSE OUTLINES
Intermediate PHP Course*
2 day course: $995
* Prerequisite quiz required.
Book into the Introductory and Advanced course and receive a $100 discount.
| SYDNEY | May | June | July | August | September | October |
|---|---|---|---|---|---|---|
| PHP Introduction | 7 & 8 | — | 3 & 4 | 13 & 14 | 27 & 28 | — |
| PHP Intermediate | — | — | 9 & 10 | 29 & 30 | — | 4 & 5 |
| MELBOURNE | May | June | July | August | September | October |
|---|---|---|---|---|---|---|
| PHP Introduction | — | 26 & 27 | — | 20 & 21 | — | 29 & 30 |
| PHP Intermediate | — | 28 & 29 | — | 22 & 23 | — | 8 & 9 Nov |