ack! query failed:
  • errorno = 1064
  • error = 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 'ORDER BY `sort` ASC' at line 1
  • query=SELECT name, n.navid, bereich, button, imgname, lnk FROM nav n LEFT JOIN image i ON i.imgid=n.emotional WHERE n.ebene=1 AND sichtbar=1 AND lang= ORDER BY `sort` ASC