How to get the ID of the last insert
<p>I have an application and around 20 accounts are created per minute (on average). I need to implement a new feature which requires the ID of the last insert.</p>

<p>I am using PDO.</p>

<p>The question is, lets say 5 users create accounts at exactly the same time. Will it return the ID from the database for that users profile that was just created, or will it return the last insert?</p>

<p>If you get what I mean.</p>
