

Code: Alles auswählen
$sql = "UPDATE " . USERS_TABLE . "
SET quiz_points = quiz_points + " . ( $this->config['quiz_points_disable'] ? 1 : $this->quiz_data['quiz_points'] ) . "
WHERE user_id = $user_id";
Code: Alles auswählen
$points = $this->config['quiz_points_disable'] ? 1 : $this->quiz_data['quiz_points'];
$sql = "UPDATE " . USERS_TABLE . "
SET quiz_points = quiz_points + $points, user_points = user_points + $points
WHERE user_id = $user_id";
Code: Alles auswählen
Error in posting
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax near 's World?[/b:f3a8cae317] Antwort: [b:f3a8cae317]Dana Carvey[/b:f3a8cae317] ' at line 1
INSERT INTO phpbb_posts_text (post_id, post_subject, bbcode_uid, post_text, post_np ) VALUES (2753, 'Quiz beantwortet', 'f3a8cae317', 'Die Quiz-Frage wurde von [url=profile.php?mode=viewprofile&u=24][i:f3a8cae317]Bam[/i:f3a8cae317][/url] richtig beantwortet: Frage: [b:f3a8cae317]Wer spielt den Garth in Wayne's World?[/b:f3a8cae317] Antwort: [b:f3a8cae317]Dana Carvey[/b:f3a8cae317] Das Quiz wurde beendet.', '' )
Line : 382
File : /homepages/34/d13424033/htdocs/gbg/forum/includes/functions_post.php