How can I get the latest ID in a table?
If you mean the latest generated ID from an insert statement with an auto-increment column, then mysql_insert_id() should help ya out