About unique number generation using php

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
madhurima
Forum Newbie
Posts: 15
Joined: Thu Mar 12, 2009 4:55 am

About unique number generation using php

Post by madhurima »

Hi,
I need help in generating unique number using php.I tired using rand() in php.But, by using rand() method,i'm getting the values repeatedly.
I want unique numbers in my application. each time in loop, i need a unique number.
If anybody know of generating unique numbers using php,pls reply aeap.


Thank u inadvance,
madhu. :)
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: About unique number generation using php

Post by josh »

uniqid
Post Reply