note 74035 deleted from function.ldap-sort by danbrown
| From: | danbrown@php.net | Date: | Wed, 31 Mar 2010 16:20:41 +0000 |
| Subject: | note 74035 deleted from function.ldap-sort by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-167571@lists.php.net to get a copy of this message | ||
Note Submitter: nick at lazy(hyphen)river dot net
----
I'm not sure if there's a way to make ldap_sort case insensitive, so I'm sticking
with Ben's solution with the following amendment.
<?php
...
$a .= strtolower($entries[$j-1][$attrib][0]);
$b .= strtolower($index[$attrib][0]);
...
?>
Hope it's useful.