Hour 7. Arrays

What You’ll Learn in This Hour:

  • What arrays are and how to create them

  • How to access data from and about arrays

  • How to access and sort the data contained in arrays

  • How to create more flexible functions using arrays

Arrays, and the tools to manipulate them, greatly enhance the scope and flexibility of PHP scripts. After you’ve mastered arrays, you will be able to store and organize complex data structures.

This hour introduces arrays and some of the functions that help you work with them.

Get Sams Teach Yourself PHP in 24 Hours, Third Edition 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.