Displaying 1 result from an estimated 1 matches for "create_img_ref".
2006 Feb 26
2
How to capture the last DB insertion id ??
Hi all,
I''ve got a model - Images - and when I insert a new image into that
db,table I would like to grab hold of the last insertion id of that
row/record and then process it further and save reworked version back
into the db.table again.
Example: a new image gets inserted as a db.table.row with ID =
12345678 (id = primary key)
The ID (12345678) is then retrieved and processed