Verfasst: 30.12.2004 10:44
Beim Abstimmen kommt also keine 1 und keine 2?
Gruß, Philipp
Gruß, Philipp
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Nein, hier erscheinen 1 und 2 nichtPhilippK hat geschrieben:Beim Abstimmen kommt also keine 1 und keine 2?
Code: Alles auswählen
$sql = "SELECT vd.vote_id
FROM " . VOTE_DESC_TABLE . " vd, " . VOTE_RESULTS_TABLE . " vr
WHERE vd.topic_id = $topic_id
AND vr.vote_id = vd.vote_id
AND vr.vote_option_id = $vote_option_id
GROUP BY vd.vote_id";
Code: Alles auswählen
if ( !($result2 = $db->sql_query($sql)) ) if ( !($result = $db->sql_query($sql)) )
Code: Alles auswählen
if ( !($result = $db->sql_query($sql)) )