PHP Essentials Course

PHP Essentials | Course Overview

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 & 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.

PHP Essentials Training Image

PHP Essentials

PHP Essentials Training Image

PHP Essentials

PHP Essentials Courses

PHP Essentials | 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
  • 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
  • Using Cookies to Remember the Page
  • Displaying a Random Image
PHP Essentials Courses
SYDNEY
Click a date to book
May Jun Jul Aug Sept Oct
PHP Essentials 20 & 21 27 & 28 16 & 17 21 & 22 Nov
PHP Intermediate 1 & 2 3 & 4
MELBOURNE
Select a date to book online now
May Jun Jul Aug Sept Oct
PHP Essentials 27 & 30 25 & 26 26 & 27
PHP Intermediate 29 & 30 28 & 29 Nov

PHP Essentials | Testimonials

"Thank you very much for an interesting and enjoyable class. The course was excellent!"

"I found the course to have been very practical to real world scenarios."

PHP Essentials Courses

Related courses:

Custom
Training

1300 441 891

Why Train With Us

Share this page
facebooktwitter

emailSign up to our newsletter