nested array...
- From: penjahat.jahat@xxxxxxxxx ("opo jal")
- Date: Mon, 17 Dec 2007 15:48:13 +0100
hi, i have a nested array
ex:
print_r($nestedarray):
Array(
[0]=>Array([id]=>1 [name]=>name1 [etc]=>etc1)
[1]=>Array([id]=>2 [name]=>name2 [etc]=>etc2)
[3]=>Array([id]=>3 [name]=>name3 [etc]=>etc3)
)
if I want to check whether id=5 is in that $nestedarray, how to do that?!?!
i'd really appreciate the help..
thanks in advance..
- Follow-Ups:
- Re: [PHP] nested array...
- From: "Richard Lynch"
- Re: [PHP] nested array...
- From: "Cesar D. Rodas"
- Re: [PHP] nested array...
- From: Richard Heyes
- Re: nested array...
- From: ZeldorBlat
- Re: [PHP] nested array...
- Prev by Date: Re: [PHP] 'Define vs const' or 'file vs class'
- Next by Date: Re: [PHP] Securing your Sites
- Previous by thread: RE: [PHP] Securing your Sites
- Next by thread: Re: nested array...
- Index(es):