This tutorial will introduce you to PHP, a server-side scripting language you can use to make dynamic websites and web applications.
Resources
There are no resources for this unit
Unit 2: Control Flow: If/Else
Lesson: Conditionals and Control Flow
Control flow is how a program decides to perform one action instead of another. In PHP, we can use 'if' and 'else' to do this!
Resources
There are no resources for this unit
Unit 3: Control Flow: Switch
Lesson: Control Flow: Switch
The switch statement lets you perform more complex control flow operations without using an endless chain of 'if's and 'else's.
Resources
There are no resources for this unit
Unit 4: Arrays in PHP
Lesson: Arrays
Arrays allow you to store lists of information in a single variable.
Resources
There are no resources for this unit
Unit 5: Loops: For and ForEach
Lesson: For Loops in PHP
Arrays are awesome, but iterating over them to use each element in the array is even more awesome. We can do that with loops!
Resources
There are no resources for this unit
Unit 6: Loops: While and Do-While
Lesson: While Loops in PHP
Sometimes we don't know ahead of time how many times we'll need to loop. When that's the case, we can use a different structure: a while loop.
Resources
There are no resources for this unit
Unit 7: Functions in PHP, Part I
Lesson: Functions, Part I
Functions are reusable bits of code that we can use to make our programs more efficient. PHP has over 700 built-in functions—let's learn a few of them!
Resources
There are no resources for this unit
Unit 8: Functions in PHP, Part II
Lesson: Functions, Part II
PHP also allows us to define our own functions. Let's learn how!
Resources
There are no resources for this unit
Unit 9: Object-Oriented Programming, Part I
Lesson: Objects in PHP
Objects are combinations of data (variables) and actions (functions). In this course, we'll cover how PHP objects work and learn how to create our own!
Resources
There are no resources for this unit
Unit 10: Object-Oriented Programming, Part II
Lesson: Object-Oriented PHP
PHP objects are instances of classes. In this course, we'll learn more about classes and cover advanced topics like inheritance!
Resources
There are no resources for this unit
Unit 11: Advanced Arrays and Maps
Lesson: Advanced Arrays
In this course, we'll cover more advanced uses of the array data structure.