Hello,
Looking for this?
http://www.php.net/manual/en/function.max.php
- E
"Davíð Örn Jóhannsson" <[EMAIL PROTECTED]> wrote:
> I have a array called $arr[], it holds integer values, I don't know how
> many indexes it holds and I need to be able to find out what the hash
> ($arr[index])
> ho
You could sort the values (ascending or descending), and select the
first or last value (depending on how you sorted it).
Davíð Örn Jóhannsson wrote:
I have a array called $arr[], it holds integer values, I dont know how
many indexes it holds and I need to be able to find out what the hash
($ar
I don't think there's a builtin that does exactly what you are looking
for, but this will do the trick:
-Joseph Rosenblum
President, 25th Street Networks
Easy, Reliable PHP Web Hosting at:
http://www.25thstreet.net/
-Original Message-
From: andy [mailto:[EMAIL PROTECTED]]
Sent: Tues
try preg_grep()
http://www.php.net/manual/en/function.preg-grep.php
example:
Jim Grill
Support
Web-1 Hosting
http://www.web-1hosting.net
- Original Message -
From: "andy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 30, 2002 10:36 AM
Subject: [PHP] searching an arra
4 matches
Mail list logo