15 lines
680 B
PHP
Executable File
15 lines
680 B
PHP
Executable File
<?php
|
|
$nomFicAppelant = basename(__FILE__);
|
|
if (!empty($theIdentifiant)) $theIdentifiant=addslashes ($theIdentifiant);
|
|
$thePwd=addslashes ($thePwd);
|
|
$reqUpdate="UPDATE `modeliv` SET `idCompte`='" .$theIdentifiant. "',pwdCompte='" .$thePwd. "' WHERE idModeLiv=" .$idMl. " ;";
|
|
$resConn='';
|
|
$resConn=$idPdo->query($reqUpdate);
|
|
if (isset($debug[2]) && $debug[2] == '1' ) { $debugMsg .= monDebug(2, ['reqUpdate' => $reqUpdate], 'gt.reqUpML.php');}
|
|
if ($resConn) {
|
|
$admMsg .= " Mise à jour identifiant effectuée avec succès !"; $admMsgClass='ok';
|
|
}
|
|
else {
|
|
$admMsg .= " Echec de la mise à jour identifiant " .$theName; $admMsgClass='ko';
|
|
}
|
|
?>
|