well, could you show us how your multidimensional array is being
populated? it looks like there is not object that the position you're
looking for-
On Mar 29, 1:04 pm, Tadas J <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have a problem with arrays. I am getting data from xml and trying to
> get data
In PHP, monster[pid][id2]['db_id'] will create the intermediate arrays
(monster[pid] and monster[pid][id2]) if they don't already exist.
Javascript isn't that smart, and monster = [[[]]] doesn't help. You'll
have to do something like:
monster[pid] = monster[pid] || [];
monster[pid][id2] = monster[
2 matches
Mail list logo