9 lines
582 B
PHP
Executable File
9 lines
582 B
PHP
Executable File
<?php
|
|
$nomFicAppelant = basename(__FILE__);
|
|
// --------------------- Coefficient pays
|
|
$reqUpdate="UPDATE `paysliv` SET `coeff`=" .$theCoeff. " WHERE idPaysLiv=" .$theIdPays. " ;";
|
|
$resConn=$idPdo->query($reqUpdate);
|
|
if (isset($debug[2]) && $debug[2] == '1' ) { $debugMsg .= monDebug(2, ['reqUpdate' => $reqUpdate], 'lpays.reqUpdateCoeff.php');}
|
|
if ($resConn) { $admMsg .= " Mise à jour du coeff pays " .$theCoeff. " effectuée avec succès !"; $admMsgClass='ok';}
|
|
else {$admMsg .= " Echec de la mise à jour coeff pays " .$theCoeff; $admMsgClass='ko';}
|
|
?>
|