I am using LOAD DATA LOCAL INFILE it woks fine but I am getting syntax error when I add OPTIONALLY ENCLOSED BY \'"\' line in the code

后端 未结 0 1220
情深已故
情深已故 2021-02-18 16:50
$query = mysqli_query($cons, \'
    LOAD DATA LOCAL INFILE "\'.$file.\'"
        INTO TABLE \'.$table.\'
        FIELDS TERMINATED by \\\',\\\'
        LINES T         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题