Here's the stuff in my php
<?php
include '../connexion.php';
$Fichier = "Ville";
$sql = 'LOAD DATA LOCAL INFILE \'$Fichier\' INTO TABLE \'$Fichier\' FIELDS TERMINATED BY \';\' ENCLOSED BY \'"\' ESCAPED BY \'\\\' LINES TERMINATED BY \'\r\n\'';
echo "$sql";
mysql_db_query(LetsRockBaby, $sql);
mysql_close();
?>
And it doesn't work (well, we don't post when stuff work ;P)
echo "$Fichier"; is really works, but here's the result of the echo "$sql":
LOAD DATA LOCAL INFILE '$Fichier' INTO TABLE '$Fichier' FIELDS TERMINATED BY ';' ENCLOSED BY '"' ESCAPED BY '\' LINES TERMINATED BY '\r\n'
So, the var isn't read (and I tried some other ways to try to make it work but it didn't 🙁)
And I really need to use a var ($Fichier) because I'll use it as an array later...
Any idea?