Gustavo González - 2012-08-31 13:35:59
Hi Alexander, i'm working with your code and i wanna know if i can import CSV to a already existent table, cause i been working hard to do it but still i can't. I saw your other repplies about $csv->table_name = "tablename" and i put it into the Quick CSV example; but i can't make it work. It only works if i take away that code line and it creates a temporary table, but i only need to REPLACE daily the content of ONE table, not create a new temporary table every time i use the code. And i get an error: Errors: Unknown column 'column1' in 'field list', and it's not working at all, it's not importing anything. Even if i use LOCAL and REPLACE options into LOAD INFILE i cannot make it work, please helpme!!