Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
KLUGLUG
Blood Service Portal
Commits
77debd95
Commit
77debd95
authored
Nov 14, 2019
by
rama chandra
Browse files
Update login.php
admins list attached to login page
parent
20f3114b
Changes
1
Hide whitespace changes
Inline
Side-by-side
admin/login.php
View file @
77debd95
...
...
@@ -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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment