array_filter function
- From: bnugroho@xxxxxxxxxxxxxxx ("Bagus Nugroho")
- Date: Fri, 28 Mar 2008 20:50:57 +0700
Hello,
If I have an array like this
$dataArray = array(0=>array('type'=>'da'), 1=>array('type'=>'wb'), 2=>array('type'=>'da');
How I can filtering to get only 'da' only, like this
$newDataArray = array(0=>array('type'=>'da'),2=>array('type'=>'da'))
Thanks in advance
bnug
- Follow-Ups:
- Re: [PHP] array_filter function
- From: "Robin Vickery"
- Re: [PHP] array_filter function
- From: Richard Heyes
- Re: [PHP] array_filter function
- References:
- [PHP] Use of callback on a stream
- From: Olivier Dupuis
- [PHP] Use of callback on a stream
- Prev by Date: Re: [PHP] Re: optimilize web page loading
- Next by Date: Re: [PHP] array_filter function
- Previous by thread: [PHP] Use of callback on a stream
- Next by thread: Re: [PHP] array_filter function
- Index(es):