note 24983 modified in function.ldap-sort by danbrown

From: Date: Wed, 31 Mar 2010 16:24:32 +0000
Subject: note 24983 modified in function.ldap-sort by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-167579@lists.php.net to get a copy of this message
Something real simple i wrote to sort directory searches by a persons last name. <?php for($i=0;$i<$result["count"];$i++) { $lastname = $result[$i]["sn"][0]; $lnames["$i"]=$lastname; }//for i @asort($lnames); ?> --was-- Something real simple i wrote to sort directory searches by a persons last name. for($i=0;$i<$result["count"];$i++) { $lastname = $result[$i]["sn"][0]; $lnames["$i"]=$lastname; }//for i @asort($lnames); http://php.net/manual/en/function.ldap-sort.php

« previous php.notes (#167579) next »