Je moet ingelogd zijn om te stemmen.
<?php $res = mysql_query("SELECT * FROM users WHERE id = ".$_SESSION['sid'].""); mysql_result($res, $_SESSION['sid']); ?>
<?php$res = mysql_query("SELECT * FROM users WHERE id = ".$_SESSION['sid']."");mysql_result($res, $_SESSION['sid']);?>