jege Posted July 26, 2011 Share Posted July 26, 2011 Problem Solved. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/242839-php-mysql-problem/ Share on other sites More sharing options...
WebStyles Posted July 26, 2011 Share Posted July 26, 2011 order by `id` DESC Quote Link to comment https://forums.phpfreaks.com/topic/242839-php-mysql-problem/#findComment-1247265 Share on other sites More sharing options...
marcelobm Posted July 26, 2011 Share Posted July 26, 2011 You should use a select statement like this: [pre]$sql = mysql_query("SELECT * FROM news ORDER BY id DESC");[/pre] This way you'll get all the news in descending order. Quote Link to comment https://forums.phpfreaks.com/topic/242839-php-mysql-problem/#findComment-1247266 Share on other sites More sharing options...
jege Posted July 26, 2011 Author Share Posted July 26, 2011 haha that was simple. Big thanks to you. i just rememberd it was something like DSC... Quote Link to comment https://forums.phpfreaks.com/topic/242839-php-mysql-problem/#findComment-1247267 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.