if((strtolower(substr($author, 0, 1)) == $ausenquiry))
| From: | John Taylor-Johnston | Date: | Mon, 12 Jul 2004 19:22:05 +0000 |
| Subject: | if((strtolower(substr($author, 0, 1)) == $ausenquiry)) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-190275@lists.php.net to get a copy of this message | ||
Hi,
I'm trying to sort my array. My Usort works, but this line only chooses those that begin with
an "e":
if((strtolower(substr($author, 0, 1)) == $ausenquiry))
http://compcanlit.usherbrooke.ca/new1/db/index.php?ausenquiry=e
is different from:
http://compcanlit.usherbrooke.ca/new1/db/index.php?ausenquiry=é
So how would I recode $ausenquiry so if ausenquiry=e, it will choose words that begin
with "e", "é" sorted this way:
usort($authors, 'usort_callback');
Here is my source: http://compcanlit.usherbrooke.ca/new1/db/ausenquiry.phps
Sorry to throw the entire .inc at you.
John