in reply to
SQL Troubles
While somewhat OT,
LAST_INSERT_ID()
is probably what you need.
-Blake
Comment on
Re: SQL Troubles
In Section
Seekers of Perl Wisdom