Forums
This topic is locked
I need to generate a unique order numbers
Posted 03 Apr 2007 23:58:14
1
has voted
03 Apr 2007 23:58:14 john goadby posted:
HiI need to generate a unique order numbers but have not got the time to sit and work it out buy my self.
If some one can give me a push in the right direction that would be cool.
Replies
Replied 04 Apr 2007 20:03:30
04 Apr 2007 20:03:30 Alan C replied:
$order_no=md5(time()); should give you a 32 character unique order no.
or try some of the php random functions
or try some of the php random functions