Description
In this course, you will :
- Understand the fundamentals of PHP. Kevin Skoglund discusses how to embed PHP code into an HTML page as well as the fundamental PHP data types such as strings and arrays.
- covers PHP's various control structures, how to work with built-in PHP functions, and how to define your own custom functions
Syllabus :
1. PHP Overview
- What is PHP?
- Text editor for Mac
- Text editor for Windows
2. First Steps
- Embed PHP code on a page
- Output dynamic text
- The operational trail
- Insert code comments
3. Explore Data Types
- 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
4. Control Structures: Logical Expressions
- If statements
- Else and elseif statements
- Logical operators
- Switch statements
5. Control Structures: Loops
- While loops
- For loops
- Foreach loops
- Continue
- Break
- Understanding array pointers
6. User-Defined Functions
- Define functions
- Function arguments
- Return values from a function
- Multiple return values
- Scope and global variables
- Set default argument values
7. Debug
- Warnings and errors
- Common problems
- Debug and troubleshoot