You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'groups WHERE questions.gid=groups.gid AND questions.sid=73779 AND questions.la' at line 1:SELECT * FROM `lime_questions` as questions, `lime_groups` as groups WHERE questions.gid=groups.gid AND questions.sid=73779 AND questions.language='fr' AND questions.parent_qid=0 AND groups.language='fr' ORDER BY group_order, question_order