![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveRe: Please help wit{h array search technique?
From: Faree <th.vijaya@gmail.com>
Date: Thu Sep 29 2005 - 07:50:22 CEST
$diff=50;//Set this to Maximum difference u can allow between numbers.
else if(($_AV[$X]<$arg) AND ($arg-$_AV[$X] <=$diff)
else if(($_AV[$X]>$arg) AND ($_AV[$X]-$arg<=$diff)
}
Hope this will work for u.
|