Subversion Repositories eFlore/Projets.eflore-projets

Rev

Rev 297 | Rev 300 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 297 Rev 299
Line 50... Line 50...
50
		$requete = "LOAD DATA INFILE '$chemin' ".
50
		$requete = "LOAD DATA INFILE '$chemin' ".
51
			"REPLACE INTO TABLE $table ".
51
			"REPLACE INTO TABLE $table ".
52
			'CHARACTER SET utf8 '.
52
			'CHARACTER SET utf8 '.
53
			'FIELDS '.
53
			'FIELDS '.
54
			"	TERMINATED BY '\t' ".
54
			"	TERMINATED BY '\t' ".
55
			"	ENCLOSED BY '' ".
55
			"	ENCLOSED BY '\"' ".
56
			"	ESCAPED BY '\\\' ".
56
			"	ESCAPED BY '\\\' ".
57
			'IGNORE 1 LINES';
57
			'IGNORE 1 LINES';
58
		$this->getBdd()->requeter($requete);
58
		$this->getBdd()->requeter($requete);
59
	}
59
	}