©  Steve Prettyman 2017

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

4. Associative and Object 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 associative arrays

  • Create a simple PHP associative array

  • Save values into a simple PHP associative array

  • Display values contained in simple PHP associative array

  • Create a multidimensional PHP associative array

  • Save values into a multidimensional PHP associative array

  • Display values contained in a multidimensional associative array

  • Add values from an html form into a multidimensional associative array

  • Validate values before placing them into an associative array

  • Define and describe the advantages in ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.