Random Numbers srand( microtime() * 1000000 ); $num = rand( 1, 100 ); echo( "Microtime:" . microtime() . ""); echo( "A random number: " . $num . ""); $num = rand( 1, 100 ); echo( "Another random number:" . $num ); ?>