This is an old revision of the document!
WMPRO, WMMINI FW >= 1.893 WMMEGA FW >= 2.0
Return a random integer between min and max
This function returns a pseudo-random whole number between min and max (inclusive)
$min: Minimum possible value
$max: Maximum possible value
Pseudo-random integer
<pre><? for ($i=1; $i<=5; $i++) { print(rand(0,100)."\r\n"); } ?></pre>
Typical output for the above example (actual results vary randomly):
76 44 12 49 84