what’s wrong with this MySQL query?
$query = "LOAD DATA LOCAL INFILE 'C:\\wamp\www\port\gurantee\upload\".$_FILES['userfile']['name']."' INTO TABLE dramexchange.gurantee FIELDS TERMINATED BY ',' ENCLOSED BY '' LINES TERMINATED BY '\r\n'";
and give this error:
Parse error: parse error, expecting T_STRING’ orT_VARIABLE’ or `T_NUM_STRING’ in C:wampwwwportguranteerec.php on line 13
TnXx
Maybe this would help: