Your SQL:SELECT `sn`,`create_date`,`title` FROM (SELECT * FROM `news` WHERE `status` = '1' AND `language` = '1' UNION SELECT * FROM news WHERE `carry_start` <= curdate() AND `carry_stop` >= curdate() AND `status` = '3' AND `language` = '1') AS t ORDER BY `create_date` DESC LIMIT -10,10 is not vaild


Fatal error: Call to undefined function error() in /home/senortec/public_html/news/news_index.php on line 19