I noticed that Message-ID:
<39615087.04082 31409.68d10c80@ posting.google. com> from kindermaxiz@yah oo.com contained the following:
[color=blue]
>I have an array and I want to fetch it and get each values that starts
>with "col" in the array and do something with them, how can I do that?[/color]
For each value in the array use substr() to see if the first three
letters =="col"
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
kindermaxiz@yah oo.com wrote:[color=blue]
> I have an array and I want to fetch it and get each values that starts
> with "col" in the array and do something with them, how can I do that?[/color]
array_filter() or even better, array_keys() with optional value.
kindermaxiz@yah oo.com wrote in message news:<39615087. 0408231409.68d1 0c80@posting.go ogle.com>...[color=blue]
> I have an array and I want to fetch it and get each values that starts
> with "col" in the array and do something with them, how can I do that?[/color]
Comment