Visit the Official PHP Website

Search this Site

PHP Programming

By James N Hitz

PHP Arrays

An array is a variable.

Oh No! Not the variables again!?

Oh yeah. An array is a variable. But one that can house several values at the same time. An array has several 'rooms' in which each 'room' is numbered. The first 'room' is 0, the next 'room' is 1 and so on... This type of array is called a list array.

Remember this: the first room is always zero(0).

Question is: How do you create an array?

<< Introduction to Lesson 2 | Creating List Arrays >>

JamHitz Productions