16 lines
578 B
PHP
Executable File
16 lines
578 B
PHP
Executable File
<?php
|
|
$nomFicAppelant = basename(__FILE__);
|
|
$reqInsert="INSERT into `libellecivilite` (numCiv, id, idLg, lib) ";
|
|
$reqInsert=$reqInsert. " VALUES (0, " .$idCiv. ",'" .$_SESSION['lgCouranteCode']. "','" .$libCiv. "');";
|
|
if (isset($debug[2]) && $debug[2] == '1' )$debugMsg .= monDebug(2, ['reqInsert' => $reqInsert], 'reqInsertCiv.php');
|
|
|
|
$resConn=$idPdo->query($reqInsert);
|
|
|
|
if ($resConn)
|
|
{$admMsg .= "<br>Création civilité effectuée avec succès ! "; $admMsgClass='ok';
|
|
}
|
|
else
|
|
{$admMsg .= "Echec de la création civilité"; $admMsgClass='ko';
|
|
}
|
|
|
|
?>
|