Commit 77debd95 authored by rama chandra's avatar rama chandra

Update login.php

admins list attached to login page
parent 20f3114b
......@@ -40,7 +40,22 @@
</div>
<?php } ?>
<h2>ADMINS</h2>
<table width="100%" border="1" style="border-collapse:collapse;">
<thead>
<tr><th><strong>S.No</strong></th><th><strong>Name</strong></th><th><strong>Mobile No</strong></th><th><strong>Region</strong></th></tr>
</thead>
<tbody>
<?php
$count=1;
$sel_query="Select * from admins ORDER BY id desc;";
$result = mysqli_query($con,$sel_query);
while($row = mysqli_fetch_assoc($result)) { ?>
<tr><td align="center"><?php echo $count; ?></td><td align="center"><?php echo $row["username"]; ?></td><td align="center"><?php echo $row["contactno"]; ?></td><td align="center"><?php echo $row["region"]; ?></td></tr>
<?php $count++; } ?>
</tbody>
</table>
<?php } ?>
</body>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment