Script.php: better info message.

pull/49/head
Hui Lan 2022-12-01 21:19:44 +08:00
parent b685ce73d4
commit 97e659b0d8
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ if (!empty($_POST["frm_createlecturrer"])) {
. "('$email','$password','$fullname','$type')"; . "('$email','$password','$fullname','$type')";
if ($con->query($sql) === TRUE) { if ($con->query($sql) === TRUE) {
$_SESSION["info_Admin_Users"] = $type . " user Created successfully : email " . $email . " and $password as Password."; $_SESSION["info_Admin_Users"] = $type . " user created successfully. Use email " . $email . " as accout name and $password as password.";
header("Location: Admin.php"); header("Location: Admin.php");
} else { } else {
echo "Error: " . $sql . "<br>" . $con->error; echo "Error: " . $sql . "<br>" . $con->error;