22 lines
959 B
PHP
Executable File
22 lines
959 B
PHP
Executable File
<?php
|
|
$nomFicAppelant = basename(__FILE__);
|
|
// ---------------------------------------------------
|
|
// recherche mess com client
|
|
// recherche mess com client
|
|
// ---------------------------------------------------
|
|
$reqSelect="SELECT * from languenav WHERE num=100 and variable='client' ;";
|
|
if (isset($debug[2]) && $debug[2] == '1' ) { $debugMsg .= monDebug(2, ['reqSelect = ' => $reqSelect],'cli.reqSelect.messCom');}
|
|
$resConn=$idPdo->query($reqSelect);
|
|
if ($resConn) {
|
|
while ($result = $resConn->fetch(PDO::FETCH_ASSOC)) {
|
|
$afficherMsgCom=$result['afficher'];
|
|
$messTab=$result[$lg];
|
|
$icoTab=$result['imgPt' .$lg];
|
|
$titleTab=$result['title' .$lg];
|
|
$styleMsgCom=$result['style'];
|
|
if (isset($debug[2]) && $debug[2] == '1' ) { $debugMsg .= monDebug(2, [ 'afficherMsgCom' => $afficherMsgCom, 'messTab' => $messTab, 'icoTab' => $icoTab, 'titleTab' => $titleTab, 'styleMsgCom' => $styleMsgCom
|
|
], ''); }
|
|
}
|
|
}
|
|
|
|
?>
|