And if thy foot offend thee, cut it off: it is better for thee to enter halt into life, than having two feet to be cast into hell, into the fire that never shall be quenched: Where their worm dieth not, and the fire is not quenched.. Mark 9:45
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 'and comment_approved=1' at line 1--select count(*) as count from comments where entity_type='topics' and entity_id= and comment_approved=1