Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
PAD2016IRP04
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Stijn Holzhauer
PAD2016IRP04
Commits
a6d032e4
Commit
a6d032e4
authored
Jun 01, 2016
by
S.Holzhauer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
querie fix
parent
63bfa806
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
executeoperation.php
...ntent/watchdad/admin/modules/backend/executeoperation.php
+1
-1
No files found.
WebContent/watchdad/admin/modules/backend/executeoperation.php
View file @
a6d032e4
...
...
@@ -28,7 +28,7 @@ if($operation == "add"){
$last_id
=
$conn
->
insert_id
;
$random
=
generateRandomString
();
$name
=
$initials
.
$lastname
;
$sql2
=
"INSERT INTO `AccountCreds` (
'Username','Password','Role','Account_AccountID'
)
$sql2
=
"INSERT INTO `AccountCreds` (
`Username`,`Password`,`Role`,`Account_AccountID`
)
VALUES ('
$name
','
$random
','
$usertype
',
$last_id
;"
;
error_log
(
$sql2
);
$conn
->
query
(
$sql2
);
...
...
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