我有这个代码
LOAD DATA INFILE '$filename' INTO TABLE
选择列表FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY '\n';
但是当我执行它时,会显示此错误:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\wamp\www\dX\csvImport-picklist.php on line 20
我的 SQL 查询有什么问题?