M
michaeljnedell
Guest
The program came with this random generator:
$useChars='AEUYBDGHJLMNPQRSTVWXZ123456789';
$trackingID = $useChars{mt_rand(0,29)};
for($i=1;$i<10;$i++)
{
$trackingID .= $useChars{mt_rand(0,29)};
}
So it makes a nice nine-long id - but what I need it to do is
fixedvalue-(nine-long-id) - I just need to jack in a fixed value in there before the random sequence...
Thanks!
$useChars='AEUYBDGHJLMNPQRSTVWXZ123456789';
$trackingID = $useChars{mt_rand(0,29)};
for($i=1;$i<10;$i++)
{
$trackingID .= $useChars{mt_rand(0,29)};
}
So it makes a nice nine-long id - but what I need it to do is
fixedvalue-(nine-long-id) - I just need to jack in a fixed value in there before the random sequence...
Thanks!