Fundamentals of dynamic website creation using PHP

Course

Inhouse

Price on request

Description

  • Type

    Course

  • Methodology

    Inhouse

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.

About this course

Basic knowledge of HTML, especially HTML forms.

Questions & Answers

Add your question

Our advisors and other users will be able to reply to you

Who would you like to address this question to?

Fill in your details to get a reply

We will only publish your name and question

Reviews

Course programme

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
· Usin 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

Fundamentals of dynamic website creation using PHP

Price on request