Hey,
I have a $data_recs array like this:
12
445
45655
4
343
etc
when the user gives me a number, i have to check if its in the array and
delete that entry...how do i do that?
I have looked at the manual but have gotten confused with array
pop,splice,array_key_exists etc
Thanks,
Ryan
--
Ryan A wrote:
Hey,
I have a $data_recs array like this:
12
445
45655
4
343
etc
when the user gives me a number, i have to check if its in the array and
delete that entry...how do i do that?
I have looked at the manual but have gotten confused with array
pop,splice,array_key_exists etc
Thanks,
On Apr 6, 2005 3:09 PM, Ryan A [EMAIL PROTECTED] wrote:
Hey,
I have a $data_recs array like this:
12
445
45655
4
343
etc
when the user gives me a number, i have to check if its in the array and
delete that entry...how do i do that?
I have looked at the manual but have gotten
On Apr 6, 2005 3:27 PM, Ken [EMAIL PROTECTED] wrote:
On Apr 6, 2005 3:09 PM, Ryan A [EMAIL PROTECTED] wrote:
Hey,
I have a $data_recs array like this:
12
445
45655
4
343
etc
when the user gives me a number, i have to check if its in the array and
delete that
On Wed, April 6, 2005 6:09 am, Ryan A said:
when the user gives me a number, i have to check if its in the array and
delete that entry...how do i do that?
I have looked at the manual but have gotten confused with array
pop,splice,array_key_exists etc
http://php.net/array_search
On 4/7/2005 5:19:24 AM, [EMAIL PROTECTED] wrote:
On Wed, April 6, 2005 6:09 am, Ryan A said:
when the user gives me a number, i have to check if its in the array
and
delete that entry...how do i do that?
I have looked at the manual but have gotten confused with array
6 matches
Mail list logo