Introduction to PHP

(23 reviews)


Premium video tutorials

Award-winning instructors

Personalized learning

Get certified

Learn at your own pace

Mobile (learn on-the-go)

Unlimited tests and quizzes

Regularly updated content


PHP is one of the most popular server-side languages, and plays a huge role in web development. This introductory course can help you learn to use PHP to produce your own dynamic, interactive websites.

Designed for beginners, no prior experience or special skills are required to take this course. You will learn the basics of PHP for web development through hands-on application and examples every step of the way. By the end of the course, you will have built a fully functional math flashcard app and templated out a website to demonstrate your practical knowledge.


  • 39 practical tutorials.
  • Understand the fundamentals of how PHP works and the client/server relationship.
  • How to set up your development environment.
  • Back up your code and set up version control with Github.
  • Learn the different data types for PHP, including string, integer, float, and boolean.
  • How to use arithmetic, assignment, comparison, increment, logic and string operators.
  • Use if/else/elseif statements to test against conditions.
  • Understand basic arrays and how to sort arrays the quick and easy way.
  • How to process HTML Forms with GET vs POST.
  • Create and issue cookies to your website visitors.
  • Pass information between pages with Sessions.
  • Put together everything you've learned by building a math flashcard app and templating out a website.

Once enrolled, our friendly support team and tutors are here to help with any course related inquiries.

Focus video player for keyboard shortcuts
  • 720p
  • 540p
  • 360p
  • 0.50x
  • 0.75x
  • 1.00x
  • 1.25x
  • 1.50x
  • 1.75x
  • 2.00x


Skill level






Accredited by




Video duration

2h 40m

Estimated study time

20h for all materials

Accreditations and approvals

CPD - The CPD Certification Service.


Course Introduction

What to expect from this course.

Try it!

How Does PHP Work?

Understanding the Fundamentals of PHP and the client/server relationship.

Setting up a Local Development Environment with XAMPP

How to code PHP on your local computer.

Sublime Text Editor Development Tool

Download and install Sublime Text, and create your development environment.

Version Control with Git

Setting up Version Control in our cloud development environment.

Using to Backup our Code

How to backup your code and version control with

Using Heroku for Production

Set up a free account to push production code.


Understanding Variables in PHP.

Data Types

Learn the different data types for PHP, including String, Integer, Float, and Boolean.

Arithmetic Operators

Learn how to do math in PHP.

Assignment Operators

How to assign things in PHP.

Comparison Operators

Comparing two or more things is easy with comparison operators.

Increment Operators

Sometimes you can't bother with math - use increment operators instead.

Logic Operators

Logic sits at the core of all computer programming. Understanding logic operators in PHP.

String Operators

Understanding concatenation and concatenating assignment operators.

Conditional Statements

Learn how to use if/else/elseif statements to test against conditions.

Try it!


How to switch between different cases.

While Loops

How to use the While loop.

Try it!

For Loops

How to use For Loops.

Let's Build FizzBuzz!

FizzBuzz! is a popular interview quiz question. Let's build it!


Understanding basic Arrays.

Sorting Arrays

Learn how to Sort Arrays the quick and easy way.


How to create and use functions in PHP.

Random Numbers and Dates

Automatically generate random numbers and dates.

String Manipulation

Fun with string manipulation!

Include Function

How to include things from other files in your PHP program.

Require Function

Similar to "Include", but used for a slightly different reason.

Form Handling - GET vs POST

How to process HTML Forms with PHP.


What are Superglobals, and how do you use them?


Creating and issuing Cookies to your website visitors.


Passing information between pages with Sessions.

Flashcard App Introduction and Setup

Let's build a cool math flashcard app!

Creating the Index Page and Form

Let's create the main skeleton of our Flashcard App.

Making the Form Work

Let's build out the form to make it work.

Right and Wrong Logic

Let's write some code to determine if the answer is right or wrong.

Build out the Other Math Pages

Addition works, now let's build pages for Subtraction, Multiplication, and Division.

Understanding the Templating Concept

Understanding how Wordpress uses Templates and how we can do the same thing.

Templating Links and Headers

Let's build out a template for our Header and links.

Templating with Require

How to use Require to template things.

Finishing Up

Let's do a few odds and ends to finish up.

Download syllabus