array filtering question
- From: bill <nobody@xxxxxxxxxxx>
- Date: Mon, 21 May 2012 10:22:51 -0400
I have a POST array with about 200 elements.
There MAY be one or more key elements that start with deleteF~
(for example deleteF~EAP, deleteF~Lowfee)
What I want to know is if any array element begins with deleteF~
I looked at array_keys, array_filter and others, but they seem to all match the whole key string.
I can process the whole array myself, but I am hoping that with all the array functions there might be one.
It would be nice if I could apply an array function and get back an array with just those keys. (they are checkboxes so the value is always "on", just their presence is enough information.)
bill
.
- Follow-Ups:
- Re: array filtering question
- From: Jerry Stuckle
- Re: array filtering question
- Prev by Date: Stats comp.lang.php (last 7 days)
- Next by Date: Re: array filtering question
- Previous by thread: Dynamic water marking (redirect?)
- Next by thread: Re: array filtering question
- Index(es):
Relevant Pages
|