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
8cb3cb46
Commit
8cb3cb46
authored
Mar 18, 2021
by
Srinivas
Browse files
Update 3.php
parent
08ad34fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
3.php
View file @
8cb3cb46
<?php
<?php
session_start
();
session_start
();
include
(
'connection.php'
);
$connection
=
getdb
();
if
(
isset
(
$_SESSION
[
'username4'
])){
if
(
isset
(
$_SESSION
[
'username4'
])){
$username4
=
$_SESSION
[
'username4'
];
$username4
=
$_SESSION
[
'username4'
];
echo
"<script>location.href='manage2.php'</script>"
;
echo
"<script>location.href='manage2.php'</script>"
;
}
}
else
{
else
{
$connection
=
mysqli_connect
(
"localhost"
,
"root"
,
""
);
$db
=
mysqli_select_db
(
$connection
,
'test'
);
if
(
isset
(
$_POST
[
'search'
]))
if
(
isset
(
$_POST
[
'search'
]))
{
{
if
(
isset
(
$_POST
[
'user_id'
])
and
isset
(
$_POST
[
'user_pass'
])){
if
(
isset
(
$_POST
[
'user_id'
])
and
isset
(
$_POST
[
'user_pass'
])){
...
@@ -188,4 +189,4 @@ a {
...
@@ -188,4 +189,4 @@ a {
</table></center></body>
</table></center></body>
</div>
</div>
</div>
</div>
</html>
</html>
\ No newline at end of file
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