"; $maxnumber = 5; $count= 0; $index = 0; $tilecount = 0; $tileindex = 0; $animals = array(-1,-1,-1,-1,-1,-1); $theanimals[0][0]; while($count <= $maxnumber) { $number = rand(1,$animalentries); for($index; $index <= $maxnumber; $index++) { if($animals[$index] == $number) { $number = rand(1,$animalentries); $index = -1; } } $animals[$count] = $number; $query = "SELECT * FROM $table WHERE (id = '$animals[$count]')"; $result = mysql_db_query($db, $query); $r = mysql_fetch_array($result); if(!$result) { $query_error = "Failed at the mysql_db_query."; echo"$query_error"; exit(); } else { $indice = 0; $theanimals[$count][$indice] = $r["title"]; $indice++; $theanimals[$count][$indice] = $r["description"]; $indice++; $theanimals[$count][$indice] = $r["thumb"]; $indice++; $theanimals[$count][$indice] = $r["limage"]; } // $cards[$count] = $number; // echo"$cards[$count]<---CARD $count <---COUNT
"; $count++; $index = 0; } $count = 0; $index = 0; $printdominoes = implode (":", $animals); ?> <?echo"$attainmentTitle";?>
" class="genericstyle">
" colspan="2"> 
">
" target="_blank">" vspace="3" hspace="3">
 
";?>

 

 

">
" target="_blank">" vspace="3" hspace="3">
 
$symbol$theSymbol";?>

 

 

">
" target="_blank">" vspace="3" hspace="3">
 
$symbol$theSymbol";?>

 

 

">
" target="_blank">" vspace="3" hspace="3">
 
$symbol$theSymbol";?>

 

 

">
" target="_blank">" vspace="3" hspace="3">
 
$symbol$theSymbol";?>

 

 

">
" target="_blank">" vspace="3" hspace="3">
 
$symbol$theSymbol";?>