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

London Greenwich

Dates Price Book Now
27 - 28 Nov £545 Book Now
See more 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


"Our needs and expectations were surpassed."

FSL Aerospace

"The trainer's knowledge of the program was amazing."

Hastoe Housing

"Our trainer was very approachable and knowledgeable."

Bond Pearce



 

 

© Transmedia . 277 Greenwich High Road London SE10 8NB  UK . 0208 269 4260
Designed by Transmedia's Web Team