Welcome Guest, Not a member yet? Register   Sign In
How to create random, but unique IDs?
#1

[eluser]Steven Ross[/eluser]
Not specifically related to Code Igniter... I'd like to generate a 7 or 8 digit unique ID. But I'd like to avoid just simply counting up sequentially, and instead use random numbers from the pool of not-yet-taken IDs. What's the most efficient way to do that?


Messages In This Thread
How to create random, but unique IDs? - by El Forum - 05-12-2010, 12:14 PM
How to create random, but unique IDs? - by El Forum - 05-12-2010, 12:34 PM
How to create random, but unique IDs? - by El Forum - 05-12-2010, 01:10 PM
How to create random, but unique IDs? - by El Forum - 05-12-2010, 01:14 PM
How to create random, but unique IDs? - by El Forum - 05-12-2010, 01:34 PM
How to create random, but unique IDs? - by El Forum - 05-12-2010, 01:38 PM
How to create random, but unique IDs? - by El Forum - 05-12-2010, 01:55 PM
How to create random, but unique IDs? - by El Forum - 05-12-2010, 01:59 PM
How to create random, but unique IDs? - by El Forum - 05-12-2010, 02:24 PM
How to create random, but unique IDs? - by El Forum - 05-12-2010, 02:53 PM
How to create random, but unique IDs? - by El Forum - 05-13-2010, 06:49 AM
How to create random, but unique IDs? - by El Forum - 05-13-2010, 01:26 PM
How to create random, but unique IDs? - by El Forum - 05-13-2010, 01:51 PM
How to create random, but unique IDs? - by El Forum - 05-13-2010, 02:45 PM
How to create random, but unique IDs? - by El Forum - 05-13-2010, 07:03 PM
How to create random, but unique IDs? - by El Forum - 05-14-2010, 12:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB