Learn the fundamentals of PHP, a popular programming language that you can use to create dynamic web pages.
Overview
Syllabus
Introduction
- Learning the fundamentals of PHP
- How to use the exercise files
- Installation overview
- What is PHP?
- Text editor for Mac
- Text editor for Windows
- Embed PHP code on a page
- Output dynamic text
- The operational trail
- Insert code comments
- Variables
- Strings
- String functions
- Numbers, part 1: Integers
- Numbers, part 2: Floating points
- Arrays
- Associative arrays
- Array functions
- Booleans
- NULL and empty
- Type juggling and casting
- Constants
- If statements
- Else and elseif statements
- Logical operators
- Switch statements
- While loops
- For loops
- Foreach loops
- Continue
- Break
- Understanding array pointers
- Define functions
- Function arguments
- Return values from a function
- Multiple return values
- Scope and global variables
- Set default argument values
- Warnings and errors
- Common problems
- Debug and troubleshoot
- Applying PHP into an HTML website
Taught by
Kevin Skoglund