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