标签:
$sql1 = "select count(*) from t_user where age<17"; $data1 = mysql_query($sql1); $rows1=mysql_fetch_array($data1); $rowCount1 = $rows1[0];
用php代码统计数据库中符合条件的行数
原文地址:http://www.cnblogs.com/fengyuzhongdexiongying/p/5418620.html