[e:loop={'select * from ( select id,classid,newspath,filename,title,titlepic,newstime from phome_ecms_111 where checked=1 and titlepic<>'' union select id,classid,newspath,filename,title,titlepic,newstime from phome_ecms_222 where checked=1 and titlepic<>'' union select id,classid,newspath,filename,title,titlepic,newstime from phome_ecms_333 where checked=1 and titlepic<>'') a order by newstime desc limit 0,4',0,24,1}]
<li><a href="<?=$bqsr[titleurl]?>" target="_blank"><img src="<?=$bqr[titlepic]?>"/></a> <a href="<?=$bqsr[titleurl]?>" target="_blank"><?=esub($bqr[title],37)?></a><!--<br> <span>[!--xxnr--]</span>--></li>
表名是对的,上面的代码出现下面的错误提示了
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in F:\000php\APMServ5.2.6\APMServ5.2.6\www\htdocs\e\data\tmp\index.php on line 409
|