1
0
This commit is contained in:
Daniel Tartavel 2019-09-01 00:33:53 +02:00
parent 60a127329d
commit b3b596790b

View File

@ -50,6 +50,18 @@ while ($user = $doldb->result->fetch_assoc())
$oc_group_user_query = "INSERT INTO oc_group_user(uid, gid) VALUES ('" . $user["login"] . "','" . $gid . "')";
echo $account_data . EOL . $oc_account_query . EOL . $oc_users_query .EOL . $oc_group_user_query . EOL;
if (!$ncdb->query($oc_account_query))
{
echo "Echec lors de la requete : (" . $mysqli->errno . ") " . $mysqli->error;
}
if (!$ncdb->query($oc_users_query))
{
echo "Echec lors de la requete : (" . $mysqli->errno . ") " . $mysqli->error;
}
if (!ncdb->query($oc_group_user_query))
{
echo "Echec lors de la requete : (" . $mysqli->errno . ") " . $mysqli->error;
}
}
$ncdb->result->close();
exit;