17.11.2011 - What I do is pre-generate unique id's for future use, that way I can take my own to generate unique value, and then you decide to use MySQL function, you can .