I can't figure what is wrong here.
$sql = "LOAD DATA LOCAL INFILE '$textfile' INTO TABLE TPC
FIELDS TERMINATED BY ',' ENCLOSED BY '\"' ESCAPED BY '\\' LINES TERMINATED BY '\r\n'";
$result = mysql_query($sql);
It give me an error that says my version of mysql (4.0.18-standard) can't do this function.
Of course, when I load the data via phpmyadmin, I have no problem. Can anyone see if I am doing something stupid?