> Is there a way to extract lets say a bunch of dates from a > mysql db, and the sort them in order from newest to oldest? > Also how would you sort names in alphabetical order?
Yes, and a php list is obviously a good place to ask an sql question. In any case, you want to examine your favourite mysql manual for the 'order by' part, particularly the bit about using 'asc' and 'desc'. CYA, Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php