19 lines
639 B
PHP
Executable File
19 lines
639 B
PHP
Executable File
<?php
|
|
$nomFicAppelant = basename(__FILE__);
|
|
//
|
|
$resConn='';
|
|
$result=array();
|
|
$reqSelect="SELECT id, FRA, titleFRA, altFRA, imgPtFRA FROM `languenav`;" ;
|
|
$resConn=$idPdo->query($reqSelect);
|
|
|
|
$line="Pour google (apres google remplacer tous les slaches dans sublimetext) <br>";
|
|
|
|
|
|
// ESP
|
|
while($result=$resConn->fetch(PDO::FETCH_ASSOC)) {
|
|
$line .= "UPDATE languenav SET ";
|
|
$line .= "ESP='" .addslashes($result['FRA']). "', titleESP='".addslashes($result['titleFRA']). "', altESP='" .addslashes($result['altFRA']). "', imgPtESP='" .$result['imgPtFRA']. "' ";
|
|
$line .= "WHERE id= " .$result['id']. "; <br>";
|
|
}
|
|
echo $line;
|
|
?>
|