RE: [PHP] how to make array_search start from 0?
| From: | Ford, Mike [LSS] | Date: | Thu, 25 Apr 2002 17:12:16 +0000 |
| Subject: | RE: [PHP] how to make array_search start from 0? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-94587@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Kevin Stone [mailto:kevin@helpelf.com]
> Sent: 25 April 2002 18:02
>
> Just looking at the manual here and it explains quite
> specifically that
> array_search() is meant to be used with associative arrays,
> not indexed
> arrays.
No it doesn't. How on earth did you read that into it?
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211