数据库出现错误!: Invalid SQL: select pic,title from oas_news_class_cn where id= MySQL Error!: 1064 (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 '' at line 1) 数据库出现错误!: next_record called with no query pending. MySQL Error!: 1064 (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 '' at line 1) 数据库出现错误!: Invalid SQL: select id,title from oas_news_cn where cid= and pub_time< order by pub_time desc limit 1 MySQL Error!: 1064 (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 pub_time< order by pub_time desc limit 1' at line 1) 数据库出现错误!: next_record called with no query pending. MySQL Error!: 1064 (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 pub_time< order by pub_time desc limit 1' at line 1) 数据库出现错误!: Invalid SQL: select id,title from oas_news_cn where cid= and pub_time> order by pub_time limit 1 MySQL Error!: 1064 (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 pub_time> order by pub_time limit 1' at line 1) 数据库出现错误!: next_record called with no query pending. MySQL Error!: 1064 (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 pub_time> order by pub_time limit 1' at line 1) 数据库出现错误!: Invalid SQL: select id,title,pub_time from oas_news_cn where is_pass and cid= and id!=474 order by rand() limit 5 MySQL Error!: 1064 (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 id!=474 order by rand() limit 5' at line 1) 数据库出现错误!: next_record called with no query pending. MySQL Error!: 1064 (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 id!=474 order by rand() limit 5' at line 1)