SELECT * FROM `pagine` WHERE aut=2 AND id_parent= ORDER BY pos
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 pos' at line 1