Code Snippets Php

//produce random numbers
srand((double)microtime()*1000000);
//number between 1 and 100
$random_number1 = rand(1,100);
echo ("$random_number1
");
//between 1 and 50 this time
$random_number2 = rand(1,50);
echo ("$random_number2
");
//finally between 55 and 95
$random_number3 = rand(55,95);
echo ("$random_number3");
?>