Re: ORDER BY DESC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Try..

$posts_sql = "SELECT posts.post_store, posts.post_content, posts.post_date, posts.post_by, users.user_id, users.user_name FROM posts LEFT JOIN users ON osts.post_by = users.user_id WHERE posts.post_store = " .mysql_real_escape_string($_GET['id'])." ORDER BY posts.post_date DESC";

Karl DeSaulniers
Design Drumm
http://designdrumm.com


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux