PHP Programming Basics

In this collection, we walk you through everything you need to know to build rich PHP applications and work with PHP code in Drupal. These videos are designed to bridge the gap between Drupal site builders and programmers. We guide you gently through the basics of PHP, and work our way into building more and more complicated scripts. In our final example we build a custom CMS, which will help you understand the architecture of Drupal while flexing your new PHP skills in a practical way.

To follow along with these videos, you will need a web environment set up on your computer. Follow the videos in Setting Up a Web Environment With Drupal to get an environment set up on Windows, OSX (Mac) or Linux.

Some of the key points we'll be covering include:

  1. How to work with variables and functions
  2. How to use logic in PHP like if…then statements and looping
  3. How to build forms in PHP
  4. How to store persistent data in sessions
  5. How to work with MySQL
  6. How to build a simple CMS from scratch

Who this collection is for

This collection is for those that want to learn PHP programming. You may want to learn PHP to work with Drupal in particular, but what you learn will be useful for any project you work on requiring a background in PHP.


There are no prerequisites for this video collection.

Landing page: 
Collection image: 
Skill level: 
Skill types: 
Drupal versions: 
Resource pack: 
Video site: 
development,back end,cross-platform,beginner
Add to playlist

Add to , or

Add to new playlist:

Add to playlist
This is a member-only feature
But, it's easy to become a member

Add to cart:

Contact us

Below are the supported keyboard shortcuts for our video player.

Start / stop video
Go to next video
Go to previous video
Increase or decrease player speed by 20%
Skip ahead or go back by 15 seconds
Jump to a percentage (2 is 20%, for example)
Toggle full screen
Videos Pricing More Search
BuildAModule Logo Icon BuildAModule Logo Icon
Become a member!
1 month
6 months
10% off
12 months
20% off
All memberships come with the following:
24 / 7 access to the entire 1800+ video library
An innovative video player with a rolling transcript
Extensive Drupal and cross-platform training
A thorough and thoughtful training style
Progress tracking
Take notes on specific video sections
Intuitive multi-user management
How many users?
Go solo with a single user, or give multiple team members access through one account and get discounts by bundling multiple users into a single membership.