Castiga viata.

Cerere invalida: SELECT a.idc, a.idsc, a.nume_ro as nume_subctg, a.descriere_ro as desc_subctg, b.nume_ro as nume_ctg, b.descriere_ro as desc_ctg FROM centro_subcateg as a, centro_categ as b WHERE a.id_farma = AND a.idc = b.idc
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 a.idc = b.idc LIMIT 1' at line 1