Commit d8f838ec authored by S.Holzhauer's avatar S.Holzhauer

fixing

parent a6d032e4
......@@ -29,7 +29,7 @@ if($operation == "add"){
$random = generateRandomString();
$name = $initials.$lastname;
$sql2 = "INSERT INTO `AccountCreds` (`Username`,`Password`,`Role`,`Account_AccountID`)
VALUES ('$name','$random','$usertype',$last_id;";
VALUES ('$name','$random','$usertype','$last_id');";
error_log($sql2);
$conn->query($sql2);
$Msg = "Today an account for Watchdad has been created for you with the role $usertype.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment