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 ') OR usr_level > 0' at line 1
select id from myforumz where parent in () OR usr_level > 0