mysqli_insert_id() is specific to the database connection -- it returns the ID of the row that this script invocation inserted most recently, not any other MySQL client. So there's no conflict if multiple applications are inserting into the database at the same time.
I am confused in 2 things first one is
specific to the database connection
and second thing
MySQL client
Please is there anyone who can explian that how mysql connections work for different clients or how these clients behave in any Application. I am sorry if it is a riddiculous question but i am confused that why it is not reflected by the data entry at the same time.