When I create a new entry in my MySQL database, I\'d like the query to return the id of the table that was just created. If it cannot do this, is there another way to find
You have LAST_INSERT_ID() in My SQL (@@IDENTITY in ms sql) and mysql_insert_id in php.
Personally though, I try to avoid auto increments / identity columns and generate my id's in other ways. Amongst other reasons, because they make inserts into multiple tables harder.