note 15027 added to ref.mysql.php
| From: | youngjinlee at hotmail dot com | Date: | Fri, 24 Aug 2001 19:15:28 +0000 |
| Subject: | note 15027 added to ref.mysql.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17086@lists.php.net to get a copy of this message | ||
SELECT something, created_by, date_created FROM tablename ORDER BY date_created DESC
... ORDER BY fieldname DESC
OR
... ORDER BY fieldname ASC
I hope this is what you are asking... also check the SQL tutorial site mentioned above...
http://www.sqlcourse.com/intro.html
>Hi, how I can use the ascending and
>descending order when I'm selecting
>the fields of my table??
http://www.php.net/manual/en/ref.mysql.php