Unknown column 'NIindex' in 'where clause'
select * from ***_ecms_news where id= NIindex