My sql query is giving me a error can any one help me? :  $query = " SELECT * FROM comments WHERE comment_post_id = {$The_post_id} AND comment_status= 'approved' ";

error is

errorYou 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_status='approved'' at line 1