LAST_INSERT_ID is MySQL specific functionality to get the value of the AUTO_INCREMENT column most recently inserted into.
I have 2 MySQL tables table#1 - container: container_id INT (PK AI) start_time DATETIME table#2 - reservation reservation_id …
php mysql transactions lastinsertidThat's the source code, I need to detect the ID (see the marked position between the two queries below). $connection = …
php yii transactions dao lastinsertid