rockinaway Posted January 13, 2007 Share Posted January 13, 2007 I have a series of usernames and titles in my memberlist table..I was wondering is there any easier way of ordering the username in ascending and descending order by click the column title, without using many SQL queries and ASC? Link to comment https://forums.phpfreaks.com/topic/34058-sorting-ascending-descending/ Share on other sites More sharing options...
AndyB Posted January 13, 2007 Share Posted January 13, 2007 I suppose you could read the entire list into an array and use the array_reverse() function to change the order. What's wrong with using SQL queries and order by ASC/DESC as usual? Link to comment https://forums.phpfreaks.com/topic/34058-sorting-ascending-descending/#findComment-160121 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.