Introduction to Dynamic Website Development using PHP

Duration: 2 Days

Objectives

Whichever authoring tool you use, and however much it simplifies the coding process, there is great benefit to be had from understanding PHP structures properly. Our course teaches PHP syntax, server side operations and the SQL commands that will let you get started with creating robust data driven PHP pages.

Pre-requisites

Basic knowledge of HTML, especially HTML forms.

Course includes

A comprehensive set of reference notes covering course topics, follow-up telephone support and, for training on Transmedia premises, lunch and refreshments.

Course outline

Introduction

  • What is PHP? What can it do?
  • Advantages of PHP
  • How it works
  • Necessary Setup
  • Installing PHP
  • Installing MySQL

PHP Syntax

  • How to Save Your PHP Pages
  • Creating a simple HTML & PHP Page
  • The Semicolon
  • White Space

PHP Variables

  • A Simple Variable Example
  • Variable Naming Conventions
  • The Echo Function
  • Outputting a String
  • Echoing Quotes
  • Echoing Variables

PHP Strings

  • String Creation
  • Using Single and Double Quotes
  • Concatenation

PHP Operators

  • Assignment Operators
  • Arithmetic Operators
  • Comparison Operators
  • String Operators
  • Combination Arithmetic & Assignment Operators
  • Increment & Decrement

Using Comments in PHP

  • Comment Syntax
  • Single Line Comments
  • Multiple Line Comments
  • Good Commenting Practices

Server-Side Includes

  • The Include Function
  • Using the Include Function
  • PHP Require Function
  • Require vs Include

Conditional Statements

  • The If Statement
  • If/Else Conditional Statment
  • Elseif
  • PHP Switch Statement
  • Switch Statement: Default Case

Using PHP With HTML Forms

  • Creating the HTML Form
  • PHP Form Processor

PHP Arrays

  • A Numerically Indexed Array
  • Associative Arrays

Looping in PHP

  • While Loop
  • For Loop
  • For Each Loop
  • Do While Loop

Using PHP with a database

  • Connecting to a database
  • Querying a database
  • Displaying error messages

Introduction to SQL

  • What is SQL?
  • Using SELECT
  • Using INSERT, DELETE and UPDATE
  • Filtering search results

Using PHP with SQL

  • Displaying data on the page
  • Using loops to access all data
  • Inserting, deleting and updating a record

Course Dates

London CentralLondon GreenwichBristol

The new course schedule is currently being updated and will be ready shortly. Please phone us on 0208 269 4260 or email us for the latest dates.

All our courses run in London and Bristol, or can be tailored to requirements at your own offices. For alternative dates, please email or call us on 0208 269 4260
All prices are per person and are subject to VAT
15% discount for groups of four delegates.
10% discount for groups of three delegates.
(This offer applies for delegates on the same public scheduled course on the same date.)

Related Courses


"Very clear instruction and presentation."

Hay Group

"Our trainer was calm, reassuring and passionate about the course."

Torpedo Group

"Our trainer worked at a great pace and was very easy to understand."

Clarks International



© Transmedia . 85 Tottenham Court Road, London, W1T 4TQ  UK . 0208 269 4260