Je moet ingelogd zijn om te stemmen.
$query7 = mysql_query("SELECT * FROM forumtopics WHERE topicid = $row->id ") or die (mysql_error()); $aantal3 = mysql_num_rows($query7); $row7 = mysql_fetch_object($query7); $sql8 = "SELECT * FROM users WHERE name='$row7->door'"; $query8 = mysql_query($sql8); $row8 = mysql_fetch_object($query8);
$query7 = mysql_query("SELECT * FROM forumtopics WHERE topicid = $row->id ") or die (mysql_error());$aantal3 = mysql_num_rows($query7);$row7 = mysql_fetch_object($query7); $sql8 = "SELECT * FROM users WHERE name='$row7->door'"; $query8 = mysql_query($sql8); $row8 = mysql_fetch_object($query8);
topicid = $row->id