Errore nella query SELECT * FROM gest_docman AS gest_docman INNER JOIN gest_docman_categories AS gest_docman_categories ON gest_docman.catid = gest_docman_categories.id WHERE catid = ORDER BY gest_docman.ID ASC: 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 gest_docman.ID ASC' at line 3