Easiest way to generate a unique number is by combining all the date and time.
The code is as follow
$unique = date(“YmdHis”); //will generate yyyymmddhhmmss
Easiest way to generate a unique number is by combining all the date and time.
The code is as follow
$unique = date(“YmdHis”); //will generate yyyymmddhhmmss