Errore: Errore sulla query <<SELECT * FROM ng_corsi WHERE 1 AND ( id IN ()) ORDER BY dataavvioprevista>>
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 dataavvioprevista' at line 1
            DBEngine.handleFatalError(Errore sulla query &lt;&lt;SELECT * FROM ng_corsi WHERE 1 AND ( ...) # line   77, file: /data/include/class.dbengine.php
         DBEngine.query(Errore sulla query &lt;&lt;SELECT * FROM ng_corsi WHERE 1 AND ( ..., SELECT * FROM ng_corsi WHERE 1 AND ( id  IN  ()) ORDER BY dataav...) # line   90, file: /data/include/class.dbengine.php
      DBEngine.qbe(Errore sulla query &lt;&lt;SELECT * FROM ng_corsi WHERE 1 AND ( ..., SELECT * FROM ng_corsi WHERE 1 AND ( id  IN  ()) ORDER BY dataav..., ~corsi, Array[2], , ) # line  862, file: /data/include/class.dbengine.php
   db_qbe(Errore sulla query &lt;&lt;SELECT * FROM ng_corsi WHERE 1 AND ( ..., SELECT * FROM ng_corsi WHERE 1 AND ( id  IN  ()) ORDER BY dataav..., ~corsi, Array[2], , , ~corsi, Array[2]) # line  150, file: /data/www01/docroot/irfa/funzioni.php
loadCorsi(Errore sulla query &lt;&lt;SELECT * FROM ng_corsi WHERE 1 AND ( ..., SELECT * FROM ng_corsi WHERE 1 AND ( id  IN  ()) ORDER BY dataav..., ~corsi, Array[2], , , ~corsi, Array[2], 6, S) # line  182, file: /data/www01/docroot/irfa/index.php