©  Steve Prettyman 2017

Steve Prettyman, PHP Arrays, 10.1007/978-1-4842-2556-1_3

3. Multidimensional Arrays

Steve Prettyman

(1)Key West, Florida, USA

After completing this chapter, the student will be able to…

  • Define and describe the advantages in using multidimensional arrays

  • Compare a table with a multidimensional array

  • Create a multidimensional PHP array

  • Save values into a multidimensional PHP array

  • Display values in a multidimensional array

  • Add values from an html form into a multidimensional array

  • Validate values before placing them into a multidimensional array

  • Convert JSON data read from a text file into a PHP array

  • Convert PHP arrays to JSON objects and save to a text file

  • Save array information to a MySQL Database

The previous chapter showed us how ...

Get PHP Arrays: Single, Multi-dimensional, Associative and Object Arrays in PHP 7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.