Learning PHP — Part Four: Multidimensional Arrays and Dates

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 over arrays even further and talk about how to handle submitted form data.

Links

Timestamps

  • :12 — Multidimensional Arrays
  • :28 — Why Need a Multidimensional Array
  • 1:01 — Creating and Using a Multidimensional Array
  • 2:00 — Sorting a Multidimensional Array
  • 2:43 — Dates
  • 2:56 — How to Create a Date in PHP
  • 3:34 — Date Formats
  • 4:07 — Copyright Example
  • 4:31 — Timezones
  • 5:00 — Adding and Subtracting Date and Time