can anyone suggest me how to generate unique random number in PHP. i am using mt_rand() function and its working perfectly, but i want to compare that unique number with my table's field. i don't know how to do this.
Please help me in solving my problem.
Thanks in advance!!