©  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 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.