<?php $one = $two = $three = 0; for($i=0;$i<100;$i++) { $c = mt_rand(1,3); if($c == 1) { $one++; } elseif($c == 2) { $two++; } elseif($c=3) { $three++; } } echo "one {$one}; two {$two}; three {$three}";
You have javascript disabled. You will not be able to edit any code.