7. Using Arrays

The next—and last—variable type you’ll learn about in this book is the array. Arrays are significantly different from numbers or strings, and you can’t make the most of programming in PHP without understanding them.

Because of their unique nature, this chapter will cover arrays more deliberately and slowly than the other variable types. The chapter begins with an introduction to the concept, along with the basics of creating and using arrays. Then it covers ...

Get PHP for the Web: Visual QuickStart Guide, Fourth 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.