Ok, here is how you create a user_no for the database
PHP Code
$dk_time=strftime("%y%m%d%H%M%S");
list($usec1, $sec1) = explode(" ",microtime());
$dk_user_no=$dk_time.substr($usec1,2,2);
echo $dk_user_no;
Lets explain that:
strftime = "%y%m%d%H%M%S" = Year - Month - Day - Hour - Minutes -...