At the center portion, you'll see a list of games, with each in 1 row. http://democade.a1.jcink.com/ Instead I want to games to be shown in "boxes", example 6 games per row. In each box, there's [I]IMAGE GAME TITLE GAME DESCRIPTION HIGHSCORE VIEW HIGHSCORE [PLAY][/I] Code (markup): You can download the script here: http://quickarcade.jcink.com/?p=getit Or only the page concerned: http://ifile.it/8tuwy9o
Hi, I am unable to make out exactly how you want it to be displayed, if you can make a rough draft of it, we can help you do it quickly..
Is this what u want $i = 0; $N = 3; //how many per row while ($rows = mysql_fetch_array ($results, MYSQL_ASSOC)) { if ( $i % $N == 0 ) { echo "<tr>"; } echo "<td width=33% valign=top> <table width=100% cellpadding=0 cellspacing=0> <tr><td align=center>Details</td></tr> </table> </td>"; if ( $i % $N == $N-1 ) { echo '</tr>'; } ++$i; } // End of while loop. PHP: can use div to make it cleaner...