在category循环中使用count标签统计的数据量求 迅睿框架 更新 2024-11-20 16:36:18 或许 count标签在category中循环使用,但是我想得到两个要求值的和。例如,{count action=module module=wenda is_comment=1 catid=$c.id},但是我想输出的是is_comment值为1和2的数据量之和,这个需要怎么使用?
{count action=module module=wenda is_comment=1 catid=$c.id return=m1} {count action=module module=wenda is_comment=2 catid=$c.id return=m2} {php echo $m1_count+$m2_count;}