Je moet ingelogd zijn om te stemmen.
<?php while($data = mysql_fetch_assoc ($res2)) { $gQuery = mysql_query ("SELECT * FROM ipban WHERE ip='".$data['ip']."'"); $hmmm = mysql_fetch_assoc ($gQuery); // lijn 118 ?> <tr> <td class="maint" width="5%"><center></center></td> <td class="maint" width="25%"><center><?=$data['crimenaam']?></center></td> <td class="maint" width="25%"><center><?=$hmmm['opmerking']?></center></td> <td class="maint" width="25%"><center><?=$hmmm['datum']?></center></td> <td class="maint" width="20%"><center><?if($data['hp'] == 0) {?><font color="red">Dood</font><?} else {?><a href="?gooi=<?=$data['crimenaam']?>"><b>Gooi!</b></a> <? } ?></center></td> </tr> <? }?>
$gQuery = mysql_query ("SELECT * FROM ipban WHERE ip='".$data['ip']."'")or die(mysql_error());