Hi Richard,
Thanks a lot for your prompt reply!! I get a parse-error, however, on line
77 (marked below):
function search_the_array($array) {
global $search_tmp;
$result = array_search($search_tmp, $array, TRUE);
reset($array);
Line77: while (!($result === FALSE) && (list($k, $v) = each($array)) {
// Or maybe you wanted ereg($search_tmp, $v) here...
$result = ereg($v, $search_tmp) ? $k : FALSE;
}
return ' '.$result; // extra space needed before the "key"
}
Any idea as to how this could be solved?
TIA,
Raphael
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]