PHP Programming & MariaDB for Web Development

5 Day Course
Hands On

Book Now - 2 Delivery Methods Available:

Classroom Virtual Classroom Private Group - Virtual Self-Paced Online


The PHP Programming & MariaDB for Web Development course is designed to give delegates the knowledge to develop/maintain PHP scripts utilizing the MariaDB database system and HTML.


The delegate will learn and acquire skills as follows:

  • Declare variables and initialise them
  • Construct expressions with arithmetic, logical and relational operators
  • Use iterative type statements
  • Use conditional statements
  • Read/write text and binary files
  • Manipulate text using regular expression
  • Use and code functions
  • Use built-in library functions
  • Use arrays and hashes
  • Create and use external PHP Code
  • PHP Configuration
  • Basic SQL Syntax
  • Connect to a MariaDB Database with Error Checking
  • Use PHP to Interact with a MariaDB Database
  • Utilise PHP with the HTML Environment
  • Work with Email and Cookies
  • Consider Security Implications when using PHP and MariaDB

Target Audience

UNIX and Windows Users, Web Developers and Programmers wishing to create web based systems utilising PHP and MariaDB.

Additional Information

  • Course technical content is subject to change without notice.
  • Course content is structured as sessions, this does not strictly map to course timings. Concepts, content and practicals often span sessions.

Training Partners

We work with the following best of breed training partners using our bulk buying power to bring you a wider range of dates, locations and prices.


Hide all

History of PHP (5 topics)

  • Installing PHP
  • General Requirements
  • UNIX based Systems
  • Windows based Systems
  • Integrated Development Environment (IDE)

PHP Language Basics (11 topics)

  • Programming Basics
  • Comment markers
  • PHP Tags
  • Output Commands
  • Using Files
  • Include_path
  • Opening files
  • Reading files
  • Writing to Files

PHP Variables (24 topics)

  • Naming Rules
  • Data Types
  • Numerical
  • Integer
  • Floating Point Numbers
  • Floating Point Precision
  • Single Quoted Strings
  • Double Quoted Strings
  • Creating and Assigning Variables
  • Assigning Values to Variables
  • Type Conversion
  • Variable Scoping
  • Global Keyword
  • Static Keyword
  • Super Globals
  • Constants
  • Variable Variables
  • Operators
  • Assignment Operators
  • Increment/Decrement Operators
  • Arithmetic Operators
  • String Operators
  • Comparison Operators
  • Logical Operators

Control Structures (12 topics)

  • Statement Blocks
  • If Construct
  • Else Keyword
  • Elseif Keyword
  • Looping Constructs
  • While Loop
  • Do-while Loop
  • For Loop
  • Foreach Loop
  • Loop Control Words
  • Break
  • Continue

Regular Expressions (14 topics)

  • Meta-Characters
  • Backslash
  • Unicode Character Properties
  • Circumflex and Dollar
  • Full Stop
  • Square Brackets
  • Vertical Bar
  • Multipliers
  • Subpatterns
  • Repetition
  • Pattern Matching with ereg and eregi
  • Pattern Matching with preg_match
  • Splitting Text
  • Switch

PHP Arrays (10 topics)

  • Syntax
  • Creating/Modifying with Square-Bracket Syntax
  • Array Functions
  • Pitfalls when using Arrays
  • Using a Return value as a Key
  • Converting to Array
  • Sorting an Array
  • Multi-Dimensional Arrays
  • Example
  • Creating a new Multi-Dimensional Array

PHP Functions (6 topics)

  • Conditionally Created Functions
  • Functions Created Inside Functions
  • Argument Passing by Value
  • Argument Passing by Reference
  • Returning Values
  • Including External PHP Functions

PHP Object Oriented (4 topics)

  • Classes and Inheritance
  • Classes
  • Inheritance
  • Keywords

PHP & PEAR (5 topics)

  • What is PEAR?
  • Command Line Package Installer
  • Fully-Automatic Installation
  • Semi-Automatic Installation
  • What is PECL

PHP & HTML (1 topic)

  • HTML/PHP Examples

PHP Configuration (3 topics)

  • Working with External Files
  • Error Reporting
  • Interacting with External Programs

Basic SQL Statements (5 topics)

  • Creating Databases and Tables
  • Inserting Data into Tables
  • Viewing Tables
  • Drop

Connecting to MariaDB/MySQL (3 topics)

  • mysqli_connect
  • mysqli_error
  • Die

Using PHP to Perform Database Functions (5 topics)

  • Inserting Data into a Database
  • Creating Queries
  • Executing Queries
  • Processing the Returned Query Data
  • Updating the Database

Generating HTML Using PHP (3 topics)

  • PHP Inside HTML
  • HTML Form with Embedded PHP
  • Multiple HTML Pages/Forms with PHP

Email and Cookies Using PHP (3 topics)

  • Generating Email using PHP
  • Generating Cookies using PHP
  • Using Cookies

PHP and Database Security (7 topics)

  • Designing Databases
  • Connecting to Database
  • Encrypted Storage Model
  • SQL Injection
  • Security Techniques
  • Error Reporting
  • User Submitted Data


Familiarisation with programming concepts is useful, this knowledge can be obtained by attendance on the Concepts of Programming course.

Additional Learning

The courses below may help you meet the knowledge level required to take this course.

Scheduled Dates

Please select from the dates below to make an enquiry or booking.


Different pricing structures are available including special offers. These include early bird, late availability, multi-place, corporate volume and self-funding rates. Please arrange a discussion with a training advisor to discover your most cost effective option.

Code Location Duration Price Dec Jan Feb Mar Apr May
PHPPMARWD 5 Days $2,125

Course PDF


Share this Course


Recommend this Course