Lars Torben Wilson wrote:
Sorry about following up to myself, but I was really really hungry when I wrote the first one:
[snip]
This code returns the names in the format in which they are given. You
can speed it up a bit by having it return the names in 'lastname, firstname'
format. For this, change
$names[$name[0]] = join(', ', $tmp);
to
$names[$i] = join(', ', $tmp);
and remove the lines:
asort($names);
Don't remove the above line; just change it to:
sort($names);
$names = array_keys($names);
Cheers,
Torben
-- Torben Wilson <[EMAIL PROTECTED]>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

