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 'LABRADOR CHOCOLATE con Pedigré \') AND cat.id_c=r24.cat AND r24.ubica=ubica.id_p' at line 1