I usually employ MySQL's very own LOAD DATA LOCAL INFILE when loading a CSV file:
LOAD DATA LOCAL INFILE 'gleandata.csv' INTO TABLE as_contacts FIELDS T +ERMINATED BY ":" OPTIONALLY ENCLOSED BY """" LINES TERMINATED BY "\r\ +n";
Unless I'm missing something...
In reply to Re: MySQL: trouble inserting an array with some undefined members into a table using a set number of placeholders
by bradcathey
in thread MySQL: trouble inserting an array with some undefined members into a table using a set number of placeholders
by dwstultz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |