require_once '../../bbs/include/common.inc.php';
?>
绿色城市化 - 《中国城市化质量评估体系》 - 专题 - 城市化网 - 中国城市化门户网站
$sql = "select count(*) as num from gandong where types = 3 and q = 1";
$res = $db->query($sql);
$row = $db->fetch_array($res);
$num = $row['num'];
echo $num;
?>
票
$sql = "select count(*) as num from gandong where types = 3 and q = 2";
$res = $db->query($sql);
$row = $db->fetch_array($res);
$num = $row['num'];
echo $num;
?>
票
$sql = "select count(*) as num from gandong where types = 3 and q = 3";
$res = $db->query($sql);
$row = $db->fetch_array($res);
$num = $row['num'];
echo $num;
?>
票