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
aabcaebc
Commit
aabcaebc
authored
Mar 18, 2021
by
Srinivas
Browse files
Update du4.php
parent
5a1c34d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
du4.php
View file @
aabcaebc
<?php
include
(
'connection.php'
);
$connection
=
getdb
();
?>
<html>
<head>
<body>
...
...
@@ -141,8 +146,6 @@ a {
<?php
$x
=
$_GET
[
'id'
];
$connection
=
mysqli_connect
(
"localhost"
,
"root"
,
""
);
$db
=
mysqli_select_db
(
$connection
,
'test'
);
$query2
=
"SELECT * FROM registrations where ID='
$x
' "
;
$query2_run
=
mysqli_query
(
$connection
,
$query2
);
$y
=
0
;
...
...
@@ -163,4 +166,4 @@ else if($y==2)
else
{
header
(
"Location:du7.php?id=
$x
"
);
}
?>
</body>
</html>
\ No newline at end of file
</html>
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