7 Using Arrays
The next—and last—variable type you’ll learn about in this book is the array. Arrays are significantly different than either numbers or strings, and you can’t make the most of programming in PHP without comprehending them.
Because of their unique nature, this chapter will cover arrays more deliberately and slowly than the other variable types. The chapter begins with a thorough introduction to the concept, along with the basics of creating and using arrays. Then it covers multidimensional arrays and some of the array-related functions. The chapter concludes with array-string conversions and a demonstration on how to create an array from an HTML form.
What Is an Array?
Arrays constitute a complicated but very ...