PHP问题,PHP问题PHP问题

无法读取 < ?=$title? > < ?=$rjxj? > 等
代码如下

[e:loop={"select * from www_moban5_cn_ecms_zq where titlepic<>'' and classid=623 order by newstime desc limit 60",6,24,0}]
<?php 
if($query){
if($bqr[azyxid]==''){
$query=$empire->query("select * from www_moban5_cn_ecms_iosgame where  titlepic<>'' and classid=623 or id='$bqr[iosyxid]'");
while($rsst =$empire->fetch($query)){
$title=$rsst['title'];
$titlepic=$rsst['titlepic'];
$titleurl=$rsst['titleurl'];
$rjxj=$rsst['rjxj'];
$rjdx=$rsst['rjdx'];
$newstime=$rsst['newstime'];
$classid=$rsst['classid'];                                        
$querys=("select * from www_moban5_cn_enewsclass where classid='$classid'");                                         
$results=$empire->query($querys);                                         
while($rsy =$empire->fetch($results)){                                        
$classname=$rsy[classname];                                        
}}}
?>
      <li><a href="<?=$titleurl?>"><img class="g-ku-ico" src="<?=$titlepic?>">
        <p><font><?=$title?></font><em><img src="/moban5/skin/new2018/images/s<?=$rjxj?>.gif"></em><strong><?=$classname?> / <?=$rjdx?></strong><strong><?=date('Y-m-d',$newstime)?></strong></p>
        </a></li>
<?php }else{ 
if($query){
$query=$empire->query("select * from www_moban5_cn_ecms_azgame where id='$bqr[azyxid]'");
while($rsst =$empire->fetch($query)){
$title=$rsst['title'];
$titlepic=$rsst['titlepic'];
$titleurl=$rsst['titleurl'];
$rjxj=$rsst['rjxj'];
$rjdx=$rsst['rjdx'];
$newstime=$rsst['newstime'];
$classid=$rsst['classid'];                                        
$querys=("select * from www_moban5_cn_enewsclass where classid='$classid'");                                         
$results=$empire->query($querys);                                         
while($rsy =$empire->fetch($results)){                                        
$classname=$rsy[classname];                                        
}}}
?>
 
      <li><a href="<?=$titleurl?>"><img class="g-ku-ico" src="<?=$titlepic?>">
        <p><font><?=$title?></font><em><img src="/moban5/skin/new2018/images/s<?=$rjxj?>.gif"></em><strong><?=$classname?> / <?=$rjdx?></strong><strong><?=date('Y-m-d',$newstime)?></strong></p>
        </a></li>
 <?php } ?>
[/e:loop]
 


确定已经拿到了数据?

"select * from www_moban5_cn_ecms_iosgame where titlepic<>'' and classid=623 id='$bqr[iosyxid]'"
很明显少了个 and

查问题,输出sql 语句放到phpmyadmin 运行一下就知道是不是语句错误了,语句没错就print_r结果集看看
还有这种是短标签的写法,看看你自己的php有没有开启这种写法

因为你没配置开启短标签,需要开启
打开php.ini配置文件,查找 short_open_tag = Off 修改成short_open_tag = On
然后重启apache