I have an array with a key value that you look like on it:
$some_array['array_key'] = "some string";
Is it possible to use array_push to add more elements to an array?
Ive tried this:
array_push($some_array['array_key'],"another string");
and I tried another obvious way, but nothing works. Is it possible to add array_push to an array with a key?
Thanks for any help you can offer.
- Bryan
arrays php multidimensional-array
bryan sammon
source share