date: reverse order
| From: | Addison Ellis | Date: | Tue, 04 Feb 2003 10:28:27 +0000 |
| Subject: | date: reverse order | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-25400@lists.php.net to get a copy of this message | ||
hello,
when retrieving data from the db and displaying it on the page by creation date how can i reverse the order so that the most recent entry appears first? here's what i have now:
<?
require("config.php");
$obj = mysql_db_query($dbname,"select * from ads order by createdate");?> thank you addison -- Addison Ellis small independent publishing co. 114 B 29th Avenue North Nashville, TN 37203 (615) 321-1791 addison@bellsouth.net info@smipco.com subsidiaries of small independent publishing co. info@gloabaldog.com info@momandpocentral.com