Invalid query: 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 'and edicio = '' LIMIT 1' at line 1
Query: select id_llista_categoria from llista_categories where id_premi = and edicio = '' LIMIT 1