Try this SELECT * FROM table ORDER BY id DESC LIMIT 1 Milan
----- Original Message ----- From: "Chris Schoeman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 22, 2003 12:05 PM Subject: [PHP] Query mysql highest id number > I want to make a query in a mysql database with as result > the row with the highest id number. How can I do that? > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php