hello all i want to generate a unique code for each customer that are going to register on my site. and each customer is identify by this unique code. plz suggest me how i generate unique code like this "CUS-123" The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/ [Non-text portions of this message have been removed]