Topic awaiting preservation: php sort (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: |
posted 12-13-2004 23:59
yo does anybody know how i can sort mysql data by one thing then another for example i might want to sort somthing by age then name so instead of showing 20 year olds at random then 21 year olds at random and so on it would give me all the 20 yea olds in alphabetical order then the 21 year olds in alphabetica order and so on |
Paranoid (IV) Inmate From: France |
posted 12-14-2004 00:23 |
Paranoid (IV) Inmate From: Maryland, USA |
posted 12-14-2004 05:02
I am sure you realize this, but it is Order By, rather than oder by. code: SUBSTRING(str FROM pos FOR len)
|
Bipolar (III) Inmate From: iasi, romania |
posted 12-14-2004 08:53 |
Paranoid (IV) Inmate From: France |
posted 12-14-2004 23:09 |