Get Auto Increment Value in MySQL

Situation: Updating 2 tables at the same time. The second table is keyed to the auto increment column of the first table. How do you get the auto increment value for the row you just entered?

This answers the question.

Leave a Reply