How to fill an array
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?
$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?
