ohdang888 Posted December 26, 2007 Share Posted December 26, 2007 what do i put in my mysql_query inorder to have all the results in alphabetical order?????? Link to comment https://forums.phpfreaks.com/topic/83280-solved-ordering-mysql-query-results/ Share on other sites More sharing options...
revraz Posted December 26, 2007 Share Posted December 26, 2007 ORDER by fieldname ASC Link to comment https://forums.phpfreaks.com/topic/83280-solved-ordering-mysql-query-results/#findComment-423687 Share on other sites More sharing options...
tinker Posted December 26, 2007 Share Posted December 26, 2007 For a bit more: SELECT * FROM t1 ORDER BY key_part1 DESC, key_part2 ASC; see this. Link to comment https://forums.phpfreaks.com/topic/83280-solved-ordering-mysql-query-results/#findComment-423689 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.