Re: Liveuser_Admin: listing users alphabetically

From: Date: Tue, 06 Sep 2005 12:51:11 +0000
Subject: Re: Liveuser_Admin: listing users alphabetically
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20808@lists.php.net to get a copy of this message
Jeroen Houben wrote:
Lukas Smith wrote:
Jeroen Houben wrote:
Hi, I'm trying to list my users in alphabetical order, but it throws me an error (see below). He're my code:
       $params = array();
       $params['orders'] = array('auth_user_id');
this needs to be: $params['orders'] = array('auth_user_id' => $direction); where $direction is either 'ASC' or 'DESC'.
Hmm. The following doesn't throw an error, but it doesn't work either. Changing DESC to ASC makes no difference.
       $params = array();
       $params['orders'] = array('auth_user_id' => 'DESC');
       $users = $lu_admin->perm->getUsers($params);
uhm .. could you do the following for me and provide me the output var_dump($lu_admin->perm->_storage->dbc->last_query); regards, Lukas

« previous php.pear.general (#20808) next »