Consulta inválida: 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 ' previndividual, foto, extracto from articulos where (categoria = 38) or (catego' at line 1 Consulta: select codigo, numero, titulo, previsualizacion, , previndividual, foto, extracto from articulos where (categoria = 38) or (categoria2 = 38) or (categoria3 = 38) or (categoria4 = 38) order by fecha desc