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 'in-ciudad-quesada
ORDER BY news.date_nws DESC
LIMIT 0, 5' at line 11
SELECT news.id_nws,
news.title_de_nws as titulo,
news.content_de_nws as contenido,
news.date_nws,
(SELECT imagen_img FROM news_fotos WHERE noticia_img = id_nws ORDER BY orden_img LIMIT 1) AS img
FROM news
WHERE news.title_de_nws != '' AND news.content_de_nws != '' AND type_nws = 1
AND categoria_nws = holiday-chalet-near-golf-course-in-ciudad-quesada
ORDER BY news.date_nws DESC
LIMIT 0, 5