If he be not able to bring a lamb, then he shall bring ... two turtledoves, or two young pigeons, unto the LORD ... and wring off his head. Leviticus 5:7
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