Dan Anderson said:
> If I insert a row into mySQL with an indexed auto incrementing column,
> id, how do I get the id of the last inserted row?

Use the LAST_INSERT_ID() function.

Or, see these pages:
http://www.mysql.com/doc/en/Getting_unique_ID.html
http://www.mysql.com/doc/en/mysql_insert_id.html

By the way, this isn't the place to ask that question.

Colin

-- 
Colin W. Wetherbee
http://hydrogen.denterprises.org/

Reply via email to