i working on scratch card game user purchases scratch card me/my store , can redeem said card scratching off numbers , matching 3 pictures win prize like physical scratch cards want prizes pre configured know when prize won, users dont, can limit prizes, not true random, random in terms of wins prize.. i know how setup prizes need check each data value in array ensure there not 3 matching numbers, unless have won.. so far have (i neaten , shorten code down soon) $numbers = array( 0 => rand(0,9), 1 => rand(0,9), 2 => rand(0,9), 3 => rand(0,9), 4 => rand(0,9), 5 => rand(0,9), 6 => rand(0,9), 7 => rand(0,9), 8 => rand(0,9) ); which randomly generates 9 numbers , echo "<table>"; $i=0; for($x=0;$x<3;$x++){ echo "<tr>"; for($y=0;$y<3;$y++){ echo "<td>" . $numbers[$i] . "</td>"; $i++; } echo...