Storage box Code generator

I guess this is the logic
PHP:
$temp = [];
$temp[0] = 17;
$temp[1] = 16384 * $itemCount + $itemCode;
$temp[2] = rand(100000, 999999);
$finalCode = implode(';', $temp);
Though the core logic is simple, its good to have an application :thumbup1:
 
Back