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
9e9eca57
Commit
9e9eca57
authored
Mar 18, 2021
by
Srinivas
Browse files
Update stulogg.php
parent
f1e28e97
Pipeline
#37743
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
stulogg.php
View file @
9e9eca57
<?php
session_start
();
include
(
'connection.php'
);
$connection
=
getdb
();
if
(
isset
(
$_SESSION
[
'username2'
])){
$username2
=
$_SESSION
[
'username2'
];
echo
"<script>location.href='du.php?id=
$username2
'</script>"
;
}
else
{
$connection
=
mysqli_connect
(
"localhost"
,
"root"
,
""
);
$db
=
mysqli_select_db
(
$connection
,
'test'
);
if
(
isset
(
$_POST
[
'search'
]))
{
if
(
isset
(
$_POST
[
'user_id'
])
and
isset
(
$_POST
[
'user_pass'
])){
...
...
@@ -190,4 +190,4 @@ a {
</table></center></body>
</div>
</div>
</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