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 'C.A.N.I.C.H.E.S...TOY Y \') AND cat.id_c=r24.cat AND r24.ubica=ubica.id_pd AND r' at line 1