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
Blood Service Portal
Commits
2f2ea6f8
Commit
2f2ea6f8
authored
Nov 14, 2019
by
rama chandra
Browse files
updated create admin
parent
7adb0305
Changes
1
Hide whitespace changes
Inline
Side-by-side
admin/createadmin.php
View file @
2f2ea6f8
...
...
@@ -15,7 +15,7 @@ if(isset($_POST['new']) && $_POST['new']==1)
$password
=
$_REQUEST
[
'password'
];
$ins_query
=
"insert into admins (`username`,`email`,`contactno`,`clgid`,`region`,`clg`,`state`,`password`) values ('
$username
','
$email
','
$contactno
','
$clgid
','
$region
','
$clg
','
$state
','
$password
')"
;
mysqli_query
(
$con
,
$ins_query
)
or
die
(
mysql_error
());
$status
=
"New Record Inserted Successfully.</br></br>
<a href='view.php'>View Inserted Record</a>
"
;
$status
=
"New Record Inserted Successfully.</br></br>"
;
}
?>
<!DOCTYPE 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