Select fehlgeschlagen: 'select UNIX_TIMESTAMP(vt.Von) Von, UNIX_TIMESTAMP(vt.Bis) Bis, vt.Uhrzeit Uhrzeit, vt.Stunden Stunden, vt.Tage Tage FROM ofs_veranstaltung___termin vt WHERE FKLID = and UNIX_TIMESTAMP(vt.Von) >= UNIX_TIMESTAMP(now()) limit 5'
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 UNIX_TIMESTAMP(vt.Von) >= UNIX_TIMESTAMP(now()) limit 5'