17 lines
873 B
PHP
Executable File
17 lines
873 B
PHP
Executable File
<?php
|
|
$nomFicAppelant = basename(__FILE__);
|
|
// ---------------------------------------------------
|
|
// Bascule commande avec mail=IP vers Mail normal
|
|
// Les lignes vont suivre le idCde inchangé
|
|
// ---------------------------------------------------
|
|
$reqUpdate="Update commande set idMail='" .$idMail. "' WHERE idMail='" .$mailTmp. "'; ";
|
|
if (isset($debug[2]) && $debug[2] == '1' ) { $debugMsg .='<br><b>Requête Migrate Panier (panier.reqMigrate.php) = ' .$reqUpdate. '</b>';}
|
|
$resConn='';
|
|
$resConn=$idPdo->query($reqUpdate);
|
|
if ($resConn)
|
|
{
|
|
if (isset($debug[2]) && $debug[2] == '1' ) { $debugMsg .='<br><span class="msgKo">Migrate Cde = ok (panier.reqMigrate.php) idMail =></span>' .$idMail;}
|
|
}
|
|
else
|
|
{if (isset($debug[2]) && $debug[2] == '1' ) { $debugMsg .='<br><span class="msgKo">Migrate Cde ko!(panier.reqMigrate.php)</span>';} }
|
|
?>
|