Can I insert something into a MySQL database using PHP and then immediately make a call to access that, or is the insert asynchronous (in which case the possibility exists that the database has not finished inserting the value before I query it)?
Share
What I think the OP is asking is this:
In this case, if you do a insert, you will always be able to access the last inserted row with a select. That doesn’t change even if a transaction is used here.