Je moet ingelogd zijn om te stemmen.
MySQL_Query("SELECT * FROM `tabel` WHERE `ID` = ".$vid);
<?php include('config.php'); $query = mysql_query("SELECT name, code FROM tabel WHERE id = ".$vid."") or die(mysql_error()); $fetch = @mysql_fetch_array($query); print 'Name: '.$fetch['name'].'<br />Code: '.$fetch['code']; ?>
<?phpinclude('config.php'); $query = mysql_query("SELECT name, code FROM tabel WHERE id = ".$vid."") or die(mysql_error()); $fetch = @mysql_fetch_array($query); print 'Name: '.$fetch['name'].'<br />Code: '.$fetch['code'];?>