======rand======
WMPRO, WMMINI FW >= 1.893WMMEGA FW >= 2.0
Return a random integer between min and max
====Description====
int
rand (
int
$min,
int
$max
)
This function returns a pseudo-random whole number that is greater than or equal to min and less than max
====Parameters====
$min: Minimum possible value
$max: Maximum, returned values will be less than this
====Return Values====
Pseudo-random integer
====Example====
===Generate 5 random numbers between 0 and 99===
for ($i=1; $i<=5; $i++) {
print(rand(0,100)."\r\n");
}
?>
Typical output for the above example (actual results vary randomly):
76
44
12
49
84