1
0
This commit is contained in:
Daniel Tartavel 2019-09-03 02:04:45 +02:00
parent 3004727cbd
commit 29ce06e668

View File

@ -35,7 +35,7 @@ $doldb->query("SELECT login, firstname, lastname, pass_crypted, fk_adherent_type
//print_r ($ncdb); //print_r ($ncdb);
while ($user = $doldb->result->fetch_assoc()) while ($user = $doldb->result->fetch_assoc())
{ {
$flag+=1; //$flag+=1;
$ncdb->query("SELECT uid FROM oc_accounts WHERE uid='" . $user["login"] . "'"); $ncdb->query("SELECT uid FROM oc_accounts WHERE uid='" . $user["login"] . "'");
echo "login:" . ($user["login"]) . EOL; echo "login:" . ($user["login"]) . EOL;
if ( $ncdb->result->num_rows != 0 ) if ( $ncdb->result->num_rows != 0 )
@ -103,7 +103,7 @@ while ($user = $doldb->result->fetch_assoc())
} }
} }
//$ncdb->result->close(); //$ncdb->result->close();
if ($flag > 12) exit; //if ($flag > 12) exit;
} }
//$doldb->result->close(); //$doldb->result->close();
?> ?>