wrong query: SELECT * FROM pages WHERE visible>0 AND group_id= ORDER BY position