Sorry. Still getting a parse error on line 40:

39> usort($authors, create_function('$a,$b','
40>          $a = str_replace(array('é', 'à'), array('e', 'a'), $a);
41>          $b = str_replace(array('é', 'à'), array('e', 'a'), $b);
42>          return strcasecmp($a,$b);'));

Can you have two arrays there? http://ca2.php.net/manual/en/function.str-replace.php

All the brackets are in the right place. Hmmm ...?

Thanks,
John

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

Reply via email to