D
daniel kaplan
so i generate a serial number with the exact code below (three lines):
$number1 = 10000 + int(rand(99999));
$number2 = 10000 + int(rand(99999));
$shrwsn = "$number1-$number2";
the point is i want TWO five digit numbers separated by a dash "-"
and all is cool, but i just noticed, that for the three entries i have made
test wise:
79109-72626
106421-1023 these last two are six and four digits.....
108629-3542
WHY? these were all made with the SAME script...............
$number1 = 10000 + int(rand(99999));
$number2 = 10000 + int(rand(99999));
$shrwsn = "$number1-$number2";
the point is i want TWO five digit numbers separated by a dash "-"
and all is cool, but i just noticed, that for the three entries i have made
test wise:
79109-72626
106421-1023 these last two are six and four digits.....
108629-3542
WHY? these were all made with the SAME script...............