11.07.2011, 22:00
If I understood good, you want to make random phone numbers starting with 1000000 to 9999999? If yes
num=1000000+random(9000000); EXPLANATION: min_num =1000000+0, max_num = 1000000+9999999=9999999
num=1000000+random(9000000); EXPLANATION: min_num =1000000+0, max_num = 1000000+9999999=9999999