Hi All,
How do i add another element to a assoc array? for example
$first = 1;
$newbie = array("first" => $first);
......do something......
$second = 2;
$newbie = array("second" => $second);
what happens is only the last entry to the array is assigned so I lose $first in the array so how do i get the second value stored without losing the first value?
Remeber i want to add the values at different times.
Thanks
BBK
🙂