Re: MySQL and sorting
| From: | Jason Wong | Date: | Tue, 21 May 2002 04:04:33 +0000 |
| Subject: | Re: MySQL and sorting | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98559@lists.php.net to get a copy of this message | ||
On Tuesday 21 May 2002 10:11, Cleeker wrote:
> 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, look at the date/time functions in the (mysql) manual.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Not one hundred percent efficient, of course ... but nothing ever is.
-- Kirk, "Metamorphosis", stardate 3219.8
*/