page returning invalid sql statement
-
I have a page that is returning an invalid sql statement, and I can’t figure out why:
SELECT COUNT(comment_ID) FROM wp_comments WHERE comment_post_ID = AND comment_approved = ‘1’;
Can someone tell me why there is no comment_post_id being returned?
Thanks.
The topic ‘page returning invalid sql statement’ is closed to new replies.