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 ') as show_date FROM news_star_detail WHERE show1='1' and star_status ='1' and s' at line 1