$number 1
"; while($number > 19 && $number < 35) { $number = rand(0,96); //echo" NUMBER --> $number 2 should be 0 $count
"; } $cards[$count] = $number; $count++; $number = rand(24,35); //echo" NUMBER --> $number 3 count should be 1 $count -->
"; $cards[$count] = $number; $count++; //echo" NUMBER --> $number 4 count should be 2 $count -->
"; $number = rand(20,23); //echo" NUMBER --> $number 4 count should be 2 $count -->
"; $cards[$count] = $number; $count = 0; for($count; $count < 3; $count++) { $randnum = rand(1,100); if(($randnum % 2) != 0) { $cards[$count] = $cards[$count]."r"; } $query = "SELECT * FROM $table WHERE (card = '$cards[$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; $thecards[$count][$indice] = $r["title"]; $test2 = $r["card"]; //echo"$test2 <-------no array value test <--->cards count --> $cards[$count]
"; $test = $thecards[$count][$indice]; //echo"$test <-------test
"; $indice++; $thecards[$count][$indice] = $r["description"]; $indice++; $thecards[$count][$indice] = $r["thumb"]; $indice++; $thecards[$count][$indice] = $r["limage"]; } } $count = 0; $index = 0; $printcards = implode (":", $cards); ?>

 



 
" class="genericstyle">
" target="_blank" style="width: 150px">" src="/" vspace="3" width="" height=""> " target="_blank" style="width: 150px">" src="/" vspace="3" width="" height=""> " target="_blank" style="width: 150px">" src="/" vspace="3" width="" height="">

" class="genericstyle">
" colspan="2"> 
">
" target="_blank">" src="/" width="" height="" >
 

 
" colspan="2" style="height: 12px">
" target="_blank">" src="/" width="" height="" >
 

 
">
" target="_blank">" src="/" width="" height="" >