customer ids

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I want to create random customer ids. I have an auto incremented coulumn but 
I would rather have a 6-8 digit/letter id randomly generated  that can be 
used as a unique identifier across 3 tables. Does anyone have a algorithm to 
generate such a string and can you give the odds against 2 duplicate stings 
being generated?

I know this is a strange ask.


R. 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux