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
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