note 26849 deleted from function.ldap-sort by danbrown

From: Date: Wed, 31 Mar 2010 16:24:08 +0000
Subject: note 26849 deleted from function.ldap-sort by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-167578@lists.php.net to get a copy of this message
Note Submitter: sean dot ogrady at sheridanc dot on dot ca ---- The following is a working example of how to use the ldap_sort function ... $search_return = ldap_search($ldap_connection,$ldap_base,$search_filter); ldap_sort = ($ldap_connection,$search_return,"givenname"); $entries = ldap_get_entries($ldap_connection,$search_return); This will take the returned search sort it by the "givenname" attribute. It has to be done BEFORE you call ldap_get_entries.

« previous php.notes (#167578) next »