Php and MySQL: Beginner

Upon successful completion of this course, students will have proficient knowledge of Php And MySQL. Our PHP And MySQL certification training online can be done live, online or in class.

Upon successfully completing this course, students will be able to install and configure PHP, MySQL and Apache Webserver on Windows, learn how databases are used on the Web, use PHPmyAdmin to create and edit databases, query your database with basic SQL commands and much more.

Bespoke Courses made to your specification, please email us to find out more information and dates.

Or call us on: 0800 043 8889

Benefit from the Wisdom

Delivering Quality Training since 2006.

Training Budget Maximised!

Lower Price Match Guarantee & Flexible Training Vouchers

Cutting-Edge Training

From industry experienced professionals.

Work Faster, Earn More

Reduce your production time by improving all your workflow processes.

Gain a Competitive Edge

Boost your career by improving your skills and getting Accreditation.


Static Webpages are no longer sufficient for the needs of the Internet in the 21st Century. PHP is a powerful, free server-side language that is relatively easy to learn for those who have never programmed before. Topics covered include:

  • Structure and Syntax
  • Array types
  • Sorting arrays
  • Escape sequences
  • Conditional decision making
  • Embedding PHP in Web pages
  • Mathematical functions
  • Why write your own functions
  • Basic OOP
  • Why use a database – The three-tier architecture approach
  • Connecting to the database


This course is for developers who need to grasp the latest PHP coding conventions and techniques. All the examples are based around the Object Oriented nature of PHP 5.x and best practice is encouraged throughout.


No previous PHP experience is required, but a good understanding of HTML and CSS will help you get the most from this course. No Javascript or SQL experience is expected, but we do include basic SQL queries and short Javascripts within the main course delivery.


Upon successful completion of this course, students will be able to install and configure PHP, mySQL and Apache Webserver on Windows, how databases are used on the Web, use PHPmyAdmin to create and edit databases, query your database with basic SQL commands, program with basic PHP statements, use PHP to communicate with your database, Add, Delete and Modify data in the browser, build a complete Data Management system with PHP and mySQL.


Introduction to PHP

  • Why choose PHP/MySQL/Apache
  • PHP’s purpose and capabilities
  • Server side VS client side scripting
  • What PHP looks like – basic structure
  • Setting your development environment up with your testing server
  • Testing PHP installations in your server
  • Which servers can use PHP
  • Where to write the PHP code and using which applications
  • Language basics

Structure & Syntax

  • Data types in PHP
  • Using variables and constants
  • Processing data using operators
  • Understanding arrays
  • Working with combinations of data types, variables and arrays
  • Arrays

Array Types

  • Multi-dimensional arrays
  • Getting data out of arrays
  • Array operations
  • Addition
  • Comparing
  • Counting
  • Searching
  • Flipping / reversing
  • Deleting elements within an array
  • More arrays

Sorting Arrays

  • Sort
  • Asort
  • Ksort
  • Natsort
  • Shuffle
  • Key sort
  • Stacks and Queues
  • Push/pop
  • Shift/unshift
  • Sets
  • Array_diff
  • Array_intersect
  • Strings

Escape Sequences

  • Variables and string combined
  • Escaping literal values
  • Length
  • translation
  • comparison
  • searching
  • matching
  • search and replace
  • Giving your code life – Control Structures

Conditional Decision Making – IF, ELSE, and ELSEIF

  • True, false, and evaluation of expressions
  • Multiple and nested conditions
  • Short circuit evaluation – break and continue
  • The ‘?’ operator
  • Decision making using the switch statement
  • Iterations using while, do…while, for and for each loops
  • Iterating through an array
  • Terminating code using exit, return, and die
  • Creating dynamic web content

Embedding PHP in Web pages

  • Retrieving user input through forms, using the GET and POST method
  • Handling the date and time
  • Dynamically including code using include and require
  • mail and php
  • Cookies
  • Using PHP’s built-in functions

Mathematical Functions

  • Generating random numbers
  • Creating custom functions

Why Write Your Own Functions

  • Syntax for defining a function
  • Variable scope, and the global statement
  • Adding in function parameters
  • Return values from functions
  • Objects and classes

Basic OOP

  • Constructors/destructors
  • Visibility and scope
  • Static
  • Constants
  • Introduction to databases

Why Use a Database – The Three-tier Architecture Approach

  • Introducing MySQL and PHPMyAdmin
  • Understanding the database structure
  • Creating a simple database
  • Basic SQL commands
  • Making PHP and MySQL work for each other

Connecting to the Database

  • Displaying database content through PHP
  • Inserting and deleting data into the database
  • Updating data in the database
  • Security considerations

Lifetime Access to our Virtual Campus

Have Questions about the Course or Need Advice from our Experts?

Contact Information

Book a Meeting

Book a meeting with Sharjil, our expert Learning Paths Advisor.

Give Us A Call (United Kingdom)

Give Us A Call (United States)

Send Us an Email

General Enquiries:

Training Enquires:

Support Enquiries: