Hi Steve, > I want to the select the very last record from > my MySQL DB. How do I do it?
Depends what you mean by "last". You can either do a select with an order and a limit: SELECT foo FROM bar ORDER BY timestamp DESC LIMIT 1 Or you can get the last primary key with PHP's mysql_insert_id() function. Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php