in reply to Re^2: last_insert_id did not work
in thread last_insert_id did not work

Doing it that way, would I have to tell it which table? or does it already know?

No need to specify the table. LAST_INSERT_ID() returns the ID of the last insert made on a table with an auto-increment column by the session calling the function.

could that not get something else from someone else?

No because the function only returns the information from the current session.

Replies are listed 'Best First'.
Re^4: last_insert_id did not work
by bizactuator (Sexton) on Mar 28, 2021 at 04:37 UTC
    I understand, thank you much!

    Thanks again.