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
KL Hostel Outing Automation
Commits
a6bd0f24
Commit
a6bd0f24
authored
Mar 18, 2021
by
Srinivas
Browse files
Update stu1.php
parent
e1382ddf
Changes
1
Hide whitespace changes
Inline
Side-by-side
stu1.php
View file @
a6bd0f24
<?php
session_start
();
include
(
'connection.php'
);
$connection
=
getdb
();
?>
<!DOCTYPE html>
<html
lang=
"en-ca"
>
...
...
@@ -133,8 +136,6 @@ tr:nth-child(even) {background-color: #f2f2f2}
if
(
$_SESSION
[
'username4'
]){
?>
<?php
$connection
=
mysqli_connect
(
"localhost"
,
"root"
,
""
);
$db
=
mysqli_select_db
(
$connection
,
'test'
);
$query
=
"SELECT * FROM registrations"
;
$query_run
=
mysqli_query
(
$connection
,
$query
);
?>
<h2>
<center>
Students Record
</center>
</h2>
...
...
@@ -199,4 +200,4 @@ echo "<script>location.href='3.php'</script>";
?>
</body>
</html>
\ No newline at end of file
</html>
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