A value is required.

View all courses

Discounted courses

Adobe authorised CS5 courses

Adobe authorised CS4/CS3 courses

Apple authorised courses

Apple exams and certification

Print design courses

Web design courses

Video and animation courses

Photography courses

Writing and journalism courses

Media skills courses

Programming skills courses

Business skills courses

Seminars

Duration Two Days
   
Public scheduled course £450 plus VAT
   
Individual tuition £990 plus VAT

The cost of this course includes six months telephone Helpline support, course notes, lunch and a certificate
 
Public scheduled course dates
20-09 to 21-09 Highbury Book course
18-10 to 19-10 Waterloo Book course
15-11 to 16-11 Highbury Book course
09-12 to 10-12 Waterloo Book course
06-01 to 07-01 Highbury Book course
25-01 to 26-01 Waterloo Book course
17-02 to 18-01 Highbury Book course
07-03 to 08-03 Waterloo Book course
31-03 to 01-04 Highbury Book course
18-04 to 19-04 Waterloo Book course
12-05 to 13-05 Highbury Book course
13-06 to 14-06 Waterloo Book course
For private tuition, we can arrange the course on dates that suit you. Click here to book or receive more information including prices for groups of two or more

“ I found the course to be extremely informative”
Web Developer, Avon Cosmetics

PHP: Introduction

Download PDF Print

Course Overview

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. If you would like to tailor the following course outline to your exact requirements please give us a call or email.

Course content

DAY ONE

Introduction
• PHP and how it works
• Server-side technology structures
• Your first PHP page
• PHP structure

Variables and identifiers
• Working with Identifiers
• Variables, String, Number
• Math operators
• Using constants
• String functions
• Shorthand operators
• Using Expressions
• Using variables and variable scope

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

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

Functions
• 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

Questions and answers

DAY TWO

Arrays
• Array assignments
• Array functions

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

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

HTTP
• HTTP basics
• Headers
• Environment variables

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

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

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

Built in functions
• Include()
• Require()
• Include_once()
• Require_once()

Overview of MySQL
Overview of PHP and XML

Questions and answers