DT
This commit is contained in:
parent
60a127329d
commit
b3b596790b
@ -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 . "')";
|
$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;
|
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();
|
$ncdb->result->close();
|
||||||
exit;
|
exit;
|
||||||
|
Reference in New Issue
Block a user