KarveR,
I don't think that is what he was looking for.
QAteste,
What you are looking for doesn't exist. mysql_insert_id() works only when the table generates a new id number on an autoincrement field. Updates do not generate new table IDs.
If you can give us some more specifics on your requirements, we might be able to come up with a workaround. ______________________________________________________________________
TANSTAAFL!