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 'out from bejegyzesek,users where tema_azon=7 and users.id=bejegyzesek.user_' at line 1