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 O’Reilly online learning.

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