Indeed. I just want to point (for the OP) that support for last_insert_id varies greatly from DBMS to DBMS, and not all DBD's implement it in a reasonable way. Caveat selector.
In reply to Re^2: Getting ID of last row inserted into database
by VSarkiss
in thread Getting ID of last row inserted into database
by Yendor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |