How to fill an array
Date: 07/31/06
(PHP Community) Keywords: no keywords
Using this array type:
$a = array(
"one" => 1,
"two" => 2,
"three" => 3,
"seventeen" => 17
);
In the example above $a is set and that's it. What if I wanted $a to contain multiple sets of data? How would I populate $a while looping through a data set?
Source: http://community.livejournal.com/php/478616.html