PHP/mysqli , how to know about newly inserted ID
mysql, mysqli, php
Solution
You can just use: `mysqli_insert_id($con)`
Problem
I have a simple table , contains a primary key which has an Auto Increment index. When I do insertion with `mysqli` , is there any chance to know the last inserted value of the Auto Increment column ? Note: There might be multiple people trying to insert simultaneously