打开ListInfo.php找到334行,找到: $query="select ".ReturnSqlListF($mid)." from {$dbtbpre}ecms_".$tbname.ReturnYhAndSql($yhadd,$add,1); $query.=" order by ".$addorder." limit $offset,$line"; $sql=$empire->query($query); 改成: $query="select ".ReturnSqlListF($mid)." from {$dbtbpre}ecms_".$tbname.ReturnYhAndSql($yhadd,$add,1); $query.=" order by ".$addorder." limit $offset,$line"; echo $query;die; $sql=$empire->query($query);
看下sql输出的是什么
|