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
6940d4df
Commit
6940d4df
authored
Mar 18, 2021
by
Srinivas
Browse files
Update hp3.php
parent
c91e5172
Changes
1
Hide whitespace changes
Inline
Side-by-side
hp3.php
View file @
6940d4df
<?php
session_start
();
include
(
'connection.php'
);
$connection
=
getdb
();
?>
<!DOCTYPE html>
<html
lang=
"en-ca"
>
...
...
@@ -272,8 +275,6 @@ if($_SESSION['username3']){
<center><h1>
Warden Page
</h1></center>
<?php
$x
=
$_GET
[
'id'
];
$connection
=
mysqli_connect
(
"localhost"
,
"root"
,
""
);
$db
=
mysqli_select_db
(
$connection
,
'test'
);
$query2
=
"SELECT * FROM user_login where username='
$x
' "
;
$query2_run
=
mysqli_query
(
$connection
,
$query2
);
$row
=
mysqli_fetch_array
(
$query2_run
);
...
...
Write
Preview
Markdown
is supported
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