帝国CMS在任意页面获取图片集图片数量php代码

发布时间:2020-02-20 16:24:15   分类:帝国cms教程0
<?
$rr=$empire->fetch1("select morepic from {$dbtbpre}ecms_photo_data_1 where id='$bqr[id]' limit 1");
$a=$rr[morepic];
$t= explode(chr(10), $a);
$count=count($t);
?>

调用:<?=$count?>
QQ咨询