帝国cms7.0多值字段的调用方法
第一种:<?php$test=explode("||||||",$navinfor['ziduan']);?> <?=$test[0]?> <?=$test[1]?> <?=$test[2]?>< 第二种:<?php $morefr=explode('||||||',$navinfor[position]);$mfcount=count($morefr);for($mfi=0;$mfi&……
第一种:
<?php$test=explode("||||||",$navinfor['ziduan']);?> <?=$test[0]?> <?=$test[1]?> <?=$test[2]?>
< 第二种:
<?php $morefr=explode('||||||',$navinfor[position]);$mfcount=count($morefr);for($mfi=0;$mfi<$mfcount;$mfi++){ ?><?=$morefr[$mfi]?><?}?>