select...insert (NOT


Quick question…I’m currently doing a site where I need to insert information into a table, and then get the id from that inserted item, I am wondering if there is a way to do this in one step rather than having to do a INSERT than a SELECT. The insert…select thing will only insert an item, it doesn’t return anything, so i’m hoping maybe there is a select…insert thing that selects an item from an inserted row or something.


mysql_insert_id … ert-id.php