Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'limit 10' at line 1
select news.id, news.title, news.summary, news.content, news.title_e, news.summary_e, news.content_e from news inner join newscat on news.catid=newscat.id where news.id <> 220 and news.catid= limit 10
Filename: /home/nhcha5nn/public_html/models/news_model.php
Line Number: 82