1064 - 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 'AND messe.messe_status = '1' ORDER BY messe_termine.messe_start ASC' at line 6

SELECT messe.messe_id, messe_termine.termin_id, messe.zentren_id FROM messe, messe_termine, messezentren AS mz WHERE messe_termine.messe_id = messe.messe_id AND messe.zentren_id = mz.zentren_id AND mz.ort = AND messe.messe_status = '1' ORDER BY messe_termine.messe_start ASC

[TEP STOP]