How to make a query which gets and lists data from the last entry?

jam

New Member
How do you make a query which gets data and lists it from the last entry in order of the ID adding it onto the code shown below,Example which needs add on,\[code\]$data_table = "posts";$per_page = 8;$start = $_GET['start'];$query = mysql_query("SELECT * FROM $data_table LIMIT $start,$per_page") or die(mysql_error());\[/code\]Any code examples and Information would be useful, thanks.
 
Back
Top