Re: array of array
- From: Ewoud Dronkert <firstname@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 29 Sep 2005 11:09:30 +0200
Bob Bedford wrote:
> array_push($bigarray["Y"],$value5);
> but array_push doesn't manage it.
Try $big_array['Y'][] = $value5;
In the manual it says "has the same effect" but maybe the implementation
is different? I don't know. It also says:
"Note: If you use array_push() to add one element to the array it's better
to use $array[] = because in that way there is no overhead of calling a
function."
--
E. Dronkert
.
- References:
- array of array
- From: Bob Bedford
- array of array
- Prev by Date: Re: array of array
- Next by Date: Re: array of array
- Previous by thread: Re: array of array
- Next by thread: SQL beginner question - JOIN / relational database.
- Index(es):
Relevant Pages
|