sql: select cid from zh_section where pid=
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 1sql: (select 1,id,title from zh_news where ( cid= ) and (px> or px= and id<) order by px asc,id desc limit 0,1) union (select 2,id,title from zh_news where ( cid= ) and (px< or px= and id>) order by px desc,id asc limit 0,1)
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 (px> or px= and id<) order by px asc,id desc limit 0,1) union (select 2,i' at line 1