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

querie fix

parent 63bfa806
......@@ -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);
......
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