$rand(10000000, 99999999)
I am trying to create orderID number for every new purchase, which is why I need to number added to the database via declaration of a variable $orderID. Can anyone create this funtion. Thanks in advance,
Batoe
Moderator: General Moderators
Code: Select all
$rand = rand(100000, 999999);