Je moet ingelogd zijn om te stemmen.
<?php $gComJeu = mysql_query("SELECT * FROM comp_jeu ORDER BY rang ASC") or die(mysql_error()); if(mysql_num_rows($gComJeu) == 0) { ?> <TABLE style="border: 1px solid" CELLPADDING="1" CELLSPACING="1" width="450" align="center"> <TR><TD><center>Geen informatie beschikbaar.</center></TD></TR> <? } else { ?> <TABLE BORDER="0" CELLPADDING="1" CELLSPACING="1" width="450" align="center"> <TR BGCOLOR="#666666"> <TD ALIGN="RIGHT" VALIGN="top"> </TD> <TD ALIGN="LEFT" VALIGN="top"><B><font color="#FFFFFF">Team</font></B></TD> <TD ALIGN="center" VALIGN="top"><B><font color="#FFFFFF">Gespeeld</font></B></TD> <TD COLSPAN="3" ALIGN="center" VALIGN="top"><B><font color="#FFFFFF">Goals</font></B></TD> <TD ALIGN="center" VALIGN="top"><B><font color="#FFFFFF">Punten</font></B></TD> </TR> <?php while($compjeu == mysql_fetch_assoc($gComJeu)) { ?> <TR> <TD ALIGN="RIGHT" VALIGN="top"><?= $compjeu['rang']; ?></TD> <TD ALIGN="LEFT" VALIGN="top"><?= $compjeu['naam']; ?></TD> <TD ALIGN="center" VALIGN="top"><?= $compjeu['gespeeld']; ?></TD> <TD ALIGN="RIGHT" VALIGN="top"><?= $compjeu['goals_v']; ?></TD> <TD ALIGN="center" VALIGN="top">-</TD> <TD ALIGN="LEFT" VALIGN="top"><?= $compjeu['goals_t']; ?></TD> <TD ALIGN="center" VALIGN="top"><?= $compjeu['punten']; ?></TD> </TR> <?php } ?> </TABLE> <?php } ?>
<?php $gComJeu = mysql_query("SELECT * FROM comp_jeu ORDER BY rang ASC") or die(mysql_error()); if(mysql_num_rows($gComJeu) == 0) { ?> <TABLE style="border: 1px solid" CELLPADDING="1" CELLSPACING="1" width="450" align="center"> <TR><TD><center>Geen informatie beschikbaar.</center></TD></TR> <? } else { ?> <TABLE BORDER="0" CELLPADDING="1" CELLSPACING="1" width="450" align="center"> <TR BGCOLOR="#666666"> <TD ALIGN="RIGHT" VALIGN="top"> </TD> <TD ALIGN="LEFT" VALIGN="top"><B><font color="#FFFFFF">Team</font></B></TD> <TD ALIGN="center" VALIGN="top"><B><font color="#FFFFFF">Gespeeld</font></B></TD> <TD COLSPAN="3" ALIGN="center" VALIGN="top"><B><font color="#FFFFFF">Goals</font></B></TD> <TD ALIGN="center" VALIGN="top"><B><font color="#FFFFFF">Punten</font></B></TD> </TR> <?php while($compjeu == mysql_fetch_assoc($gComJeu)) { ?> <TR> <TD ALIGN="RIGHT" VALIGN="top"><?= $compjeu['rang']; ?></TD> <TD ALIGN="LEFT" VALIGN="top"><?= $compjeu['naam']; ?></TD> <TD ALIGN="center" VALIGN="top"><?= $compjeu['gespeeld']; ?></TD> <TD ALIGN="RIGHT" VALIGN="top"><?= $compjeu['goals_v']; ?></TD> <TD ALIGN="center" VALIGN="top">-</TD> <TD ALIGN="LEFT" VALIGN="top"><?= $compjeu['goals_t']; ?></TD> <TD ALIGN="center" VALIGN="top"><?= $compjeu['punten']; ?></TD> </TR> <?php } ?> </TABLE> <?php }?>
while($compjeu = mysql_fetch_assoc($gComJeu)) {