<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<center>
<?php
// put your code here
include './Homemst.php';
include './Conn.php';
$q1="select * from tbl_user";
$re= mysqli_query($Conn, $q1);
$q3="select * from tbl_user where Gender='Male';";
$r3= mysqli_query($Conn, $q3);
$q4="select * from tbl_user where Gender='FeMale';";
$r4= mysqli_query($Conn, $q4);
// echo '<h4>No of Users: 10</h4>';
?>
<h3>No of user:<?php echo $re->num_rows; ?></h3>
<h3>No of Male users:<?php echo $r3->num_rows;?></h3>
<h3>No of female users:<?php echo $r4->num_rows;?></h3>
</center>
</body>
</html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<center>
<?php
// put your code here
include './Homemst.php';
include './Conn.php';
$q1="select * from tbl_user";
$re= mysqli_query($Conn, $q1);
$q3="select * from tbl_user where Gender='Male';";
$r3= mysqli_query($Conn, $q3);
$q4="select * from tbl_user where Gender='FeMale';";
$r4= mysqli_query($Conn, $q4);
// echo '<h4>No of Users: 10</h4>';
?>
<h3>No of user:<?php echo $re->num_rows; ?></h3>
<h3>No of Male users:<?php echo $r3->num_rows;?></h3>
<h3>No of female users:<?php echo $r4->num_rows;?></h3>
</center>
</body>
</html>
Comments
Post a Comment