Je moet ingelogd zijn om te stemmen.
<?php echo "$_SERVER['PHP_SELF']"; ?>
<?php echo $_SERVER['PHP_SELF']; ?>
mysql_query("UPDATE members SET inglogd = '1' WHERE nickname = '$_POST['nickname']' ");
mysql_query("UPDATE members SET inglogd = '1' WHERE nickname = '".$_POST['nickname']."'");
$logincheck = mysql_query("SELECT ingelogd FROM members"); if($logincheck = 1) {
$logincheck = mysql_query("SELECT ingelogd FROM members");if($logincheck = 1) {