jege Posted July 26, 2011 Share Posted July 26, 2011 Problem Solved. Thanks. 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 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. 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... Link to comment https://forums.phpfreaks.com/topic/242839-php-mysql-problem/#findComment-1247267 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.