Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MySQL sorting issue

Status
Not open for further replies.

gizmicek

Programmer
Jun 25, 2003
107
CZ
hi all,
I have one question about MySQL sorting. I know this is PHP forum but almost all of you work also with MySQL so you can help me as well. The thing is that I have the user toplist on my pages which should be sorted by rank (integer value) and then by alphabetical order within one rank group. I would like to know if there is some MySQL query like "..ORDER BY `status` AND `login`" or something like that which would do the job. Otherwise I will have to do some cycle which will go through particular rank groups and will sort the users then by alphabet.

Any help would be appreciated.

Peter
 
>sleipnir214
This does the job, thanx very much ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top