Changes

Jump to: navigation, search

PHP Arrays

1 byte removed, 19:42, 3 August 2007
Creating Multidimensional PHP Arrays
== Creating Multidimensional PHP Arrays ==
A multidimensional PHP array is nothing more than an array in which each array element is itself an array. A multidimensional array can, therefore, be thought of as a table, where each elementt element in the parent array represents a row of the table and the elements of each child array represent the columns of the row.
The following PHP script provides an example of a mutlidimensional array where the books array is assigned an array for each element containing title and author information for each book:

Navigation menu