学术科研
日期: 阅读:
Database Error

A Database Error Occurred

Error Number: 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 ' @cur := art_id, 0) tc, if(@cur <> 0 and @pr' at line 3

select art_id,art_title,art_path,is_target from cms_article a, (select if(@cur = 0 and art_id = , @cur := art_id, 0) tc, if(@cur <> 0 and @pre = 0, @pre := @tpre, 0) tp, if(@pre <> 0 and @nex = 0 and art_id <> , @nex := art_id, 0) tn, @tpre := art_id from cms_article, (select @cur := 0, @tpre := 0, @pre := 0, @nex := 0) zz where is_show = 1 and is_via = 2 and cat_id = order by art_dateline desc,art_id desc) d where a.art_id = d.tp and d.tp <> 0 and d.tp <> ;

Filename: /var/www/web/seiee/app/helpers/article_helper.php

Line Number: 351