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 1854
天命终不由人
天命终不由人 2021-02-18 16:43
$query = mysqli_query($cons, \'
    LOAD DATA LOCAL INFILE "\'.$file.\'"
        INTO TABLE \'.$table.\'
        FIELDS TERMINATED by \\\',\\\'
        LINES T         


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