Re: Liveuser_Admin: listing users alphabetically
| From: | Lukas Smith | 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:uhm .. could you do the following for me and provide me the output var_dump($lu_admin->perm->_storage->dbc->last_query); regards, LukasJeroen Houben wrote:Hmm. The following doesn't throw an error, but it doesn't work either. Changing DESC to ASC makes no difference.Hi, I'm trying to list my users in alphabetical order, but it throws me an error (see below). He're my code:this needs to be: $params['orders'] = array('auth_user_id' => $direction); where $direction is either 'ASC' or 'DESC'.$params = array(); $params['orders'] = array('auth_user_id');$params = array(); $params['orders'] = array('auth_user_id' => 'DESC'); $users = $lu_admin->perm->getUsers($params);