1064: SELECT count(*) as total_row FROM news INNER JOIN news_country nc ON news.id=nc.news_id where nc.c_id = AND news.tags like '%blackberry z3 available in philippine in 10,990 pesos 5927%'
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 'AND news.tags like '%blackberry z3 available in philippine in 10,990 pesos 59...' at line 5