where i should paste this code?
please help me with my smf forum :D
I've been asking these to the forum but no one answers http://s.dpstatic.com/smilies/biggrin.png i maybe you guys can help me
I've been trying to display users on the online list. please take a look.
where dyou think or to which file should i paste this code please?
function randomGen($min, $max)
// setup our seed
srand((float) microtime() * 10000000);
// Generate the number
$random = rand($min,$max);
// Return the number
/*adjust these numbers to display a random number within a range-
make sure the low number is on the left.*/
$random_number = randomGen(10,25);
echo "<br/>There are " .$random_number. " visitors online";