<?php
$totalnum
=(int)
$_GET
[
'totalnum'
];
$totalquery
=
"select count(*) as total from ***_enewsgbook where bid=1 and checked=0"
;
$num
=
$empire
->gettotal(
$totalquery
);
//取得總條數
echo
$num
;
?>
<?php
$totalnum
=(int)
$_GET
[
'totalnum'
];
$totalquery
=
"select count(*) as total from ***_enewsgbook"
;
$num
=
$empire
->gettotal(
$totalquery
);
//取得總條數
echo
$num
;
?>
新聞熱點
疑難解答