Course
Skills
PHP Fundamentals
Get started with the world's most widely-used server-side programming language, PHP. This course will teach you the foundations of PHP programming on the LAMP stack (Linux, Apache, MySQL, and PHP).
What you'll learn
This course is designed to give you the foundation for becoming a productive PHP developer in a LAMP environment. You'll learn the syntax of PHP and the simplicities of form processing, including functions, arrays, classes, operators, database integration, and more.
Table of contents
Course Overview
1min
Introduction
12mins
General Types
19mins
Functions
18mins
Strings
31mins
Arrays
37mins
- Overview 1m
- About Arrays 1m
- Indexed Arrays (Demo) 3m
- Associative Arrays (Demo) 3m
- array_key_exists() (Demo) 4m
- in_array() (Demo) 3m
- array_push() (Demo) 4m
- array_pop() (Demo) 2m
- unset() (Demo) 3m
- Sorting Arrays (Demo) 5m
- count() (Demo) 3m
- Foreach Loop (Demo) 3m
- Multi-dimensional Array (Demo) 3m
- Summary 1m
Classes & Objects
47mins
- Overview 1m
- Creating a Simple Class (Demo) 1m
- Creating an Object (Demo) 2m
- Creating Properties (Demo) 3m
- Accessing Properties (Demo) 2m
- Creating Constants (Demo) 2m
- Accessing Constants (Demo) 2m
- Creating Methods (Demo) 2m
- $this (Demo) 2m
- Accessing Methods (Demo) 2m
- Constructors (Demo) 3m
- Initial Parameter Passing (Demo) 3m
- Inheritance (Demo) 5m
- Protected Properties (Demo) 4m
- Private Properties (Demo) 3m
- Static Properties & Methods (Demo) 2m
- Scope Resolution Operator :: (Demo) 3m
- Include File (Demo) 3m
- Require File (Demo) 2m
- Summary 1m
Operators & Control Structures
61mins
- Overview 1m
- Arithmetic Operators (Demo) 3m
- Incrementing/Decrementing Operators (Demo) 3m
- Assignment Operators (Demo) 2m
- String Operator (Demo) 1m
- Comparison Operators (Demo) 8m
- Spaceship Operator (Demo) 3m
- Logical Operators (Demo) 7m
- If Statement (Demo) 5m
- Else If (Demo) 4m
- Switch Statement (Demo) 7m
- Ternary Operator (Demo) 4m
- Null Coalesce Operator (Demo) 3m
- While Loop (Demo) 4m
- For Loop (Demo) 4m
- Alternate Syntax for Control Structures (Demo) 2m
- Summary 1m
Databases
42mins
- Overview 1m
- Possible Databases 1m
- PDO vs. MySQli 2m
- Setting up MySQL in Linux (Demo) 4m
- Setting up MySQL on Windows (Demo) 6m
- Creating a Database and Table with phpMyAdmin (Demo) 4m
- Connecting to Database (Demo) 5m
- Close Database Connection (Demo) 1m
- Executing a Query - Delete, Update, Insert (Demo) 4m
- Grabbing Inserted Id (Demo) 2m
- Select Data From Database (Demo) 5m
- Prepared Statement Example 5m
- PDO Example 2m
- Summary 1m
Web Programming
36mins
- Overview 1m
- Setup Web Site Location - Linux (Demo) 5m
- Setup Web Site Location - Windows (Demo) 2m
- Web Site Structure and Layout (Demo) 1m
- Shorten Syntax with HTML (Demo) 4m
- $_GET (Demo) 3m
- $_POST (Demo) 2m
- Form Validation (Demo) 6m
- session_start() (Demo) 3m
- $_SESSION (Demo) 4m
- session_destroy() (Demo) 4m
- Summary 1m