Unknown column 'images' in 'where clause'
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 = images ORDER BY news.date_nws DESC LIMIT 0, 5