i want to give a unique no. id to my site's user .. for this i used the rand() function of php like this->
Code: Select all
$work_id = rand(1,9).rand(2,9).rand(3,9).rand(4,9);how can i generate unique id for all of my users .... please help me...
Thanks !