Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2004032

Re: [PHP] array_search does not find the first element From: John Holmes (holmes072000 <email protected>)
Date: 03/31/04

Merlin wrote:

> 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.

Please read the text inside the big "Warning" box on the following page:

http://us2.php.net/array_search

Thanks.

---John Holmes...

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