Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2004032

[PHP] array_search does not find the first element From: Merlin (news.groups <email protected>)
Date: 03/31/04

Hi there,

I am trying to find values inside an array. This array always starts with 0.
unfortunatelly array_search start searching with the array element 1.
So the first element is always overlooked.

How could I "shift" this array to start with 1, or make array-search start with 0?
The array comes out of an xml webservice, so I can not rally modify the results.

array_search($check_date, $results)

Thanx for any help on that.

Merlin

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php