统计全站TAGS数量写法:
<?php
$ttt=$empire->gettotal("select count(*) as total from zhan_enewstags");
?>
<?=$ttt?>
同样可以举一反三,统计全站栏目总数量:
<?php
$ccc=$empire->gettotal("select count(*) as total from zhan_enewsclass");
?>
<?=$ccc?>
统计全站TAGS数量写法:
<?php
$ttt=$empire->gettotal("select count(*) as total from zhan_enewstags");
?>
<?=$ttt?>
同样可以举一反三,统计全站栏目总数量:
<?php
$ccc=$empire->gettotal("select count(*) as total from zhan_enewsclass");
?>
<?=$ccc?>
发表评论