$sql1 = "select count(*) from t_user where age<17"; $data1 = mysql_query($sql1); $rows1=mysql_fetch_array($data1); $rowCount1 = $rows1[0];