SyntaxFix
Write A Post
Hire A Developer
Questions
$sql = "SELECT * FROM table_name ORDER BY ID DESC LIMIT 1"; $records = mysql_query($sql);
you can change LIMIT 1 to LIMIT any number you want
This will show you the last INSERTED row first.