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
4a63c0f3
Commit
4a63c0f3
authored
Mar 18, 2021
by
Srinivas
Browse files
Update du3.php
parent
06052d5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
du3.php
View file @
4a63c0f3
<?php
session_start
();
include
(
'connection.php'
);
$connection
=
getdb
();
?>
<!DOCTYPE html>
<html
lang=
"en-ca"
>
...
...
@@ -406,8 +409,6 @@ window.onload = function(){
<center><h1>
Total Leave history
</h1></center>
<?php
$connection
=
mysqli_connect
(
"localhost"
,
"root"
,
""
);
$db
=
mysqli_select_db
(
$connection
,
'test'
);
$x
=
$_GET
[
'id'
];
$query2
=
"SELECT * FROM registrations where ID='
$x
' "
;
$query2_run
=
mysqli_query
(
$connection
,
$query2
);
...
...
@@ -560,4 +561,4 @@ echo "<script>location.href='stulogg.php'</script>";
?>
</body>
</div>
</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