Search found 1 match
- Tue Apr 25, 2006 1:20 pm
- Forum: PHP - Code
- Topic: Creating Meaninful Customer ID
- Replies: 1
- Views: 460
Creating Meaninful Customer ID
Hello All, <? php //Creating unique part of ID $unique_id_int=0 //Getting two digit value of month $month=date(m); //Getting two digit value of year $year=date(y); //Creating 'customerid' by concatenating month.year.unique.id.int $customerid='$month.$year.$unique_id_int'; while ($unique_id_int<=9999...