注:一站式VIP下载:www.92cms.cn 价更省,源码更多。 <?php $sl=empty($navinfor[morepic])?0:count(explode(chr(13),$navinfor[morepic])); echo $sl; ?>