Learning PHP – Part Two: Loops, Conditionals and Functions

Now we know how to create a webpage and style it, so let’s move on to adding dynamic content to the page. And we do that with PHP, or PHP Hypertext Processor. This is how you can grab data from files or a database, loop through the data and display it in any way possible. Today, we’ll go further in learning about programming languages and PHP by going over loops, conditionals and functions.

Links

Timestamps

  • :20 — Loops
  • :44 — While Loops
  • 1:22 — For Loops
  • 1:51 — Foreach Loops
  • 2:26 — If/Else Statements
  • 3:13 — Functions