Connecting Tech Pros Worldwide Help | Site Map

Re: Fill array keys if it doesn't exists

mijn naam
Guest
 
Posts: n/a
#1: Sep 8 '08
<mouac01@yahoo.comschreef in bericht
news:55988a3d-789f-47bb-bd80-94f291c33ce6@b30g2000prf.googlegroups.com...
Quote:
>I have this multidimensional array:
Quote:
...
Quote:
How would I write a script that will loop thru all the keys, add keys
and set them to zero if they don't exist in the other sub-arrays.
Something like the below. Thanks...
Quote:
...
Show what you have so far, where do you get stuck?

Closed Thread


Similar PHP bytes