var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Returning results order by string length.
I need some help to return results form a MySQL database in the order of the size of the string. Such as:
"Hello, this is one string"
"Hey, this is the next"
I would like them to be returned in that order also.
The field they are stored in is called words
I have searched the MySQL online manual but with now luck. Have found the lenght function but have not had any luck.
Thanks for your help,
jeremy, you were so close!
order by length(thestring) desc
Thanks for the quick reply! And its working great!