0% found this document useful (0 votes)
6 views1 page

Index

Uploaded by

sid web
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views1 page

Index

Uploaded by

sid web
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

<?

php
include('connection.php');

$fetchusers = mysqli_query($con, "SELECT * FROM `user_info`");?>

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>User list</title>
</head>
<body>
<table>
<thead>
<tr>
<th>Username</th>
<th>Referral ID</th>
<th>Active status</th>
</tr>
</thead>
<tbody>
<?php while($row = mysqli_fetch_assoc($fetchusers)){?>
<tr>
<td><?php echo $row['username'] ?></td>
<td><?php echo $row['ref_id'] ?></td>
<td><?php echo $row['acc_status'] ?></td>
</tr>
<?php } ?>
</tbody>
</table>
</body>
</html>

You might also like