Csv Upload

Hai every one

May I know how can I import a csv document into mysql table. I have found a extension in yii framework but that gives lot of errors. If any one know please tell us.



You can use MySQL’s LOAD DATA INFILE command with the PDO object.

take a look at the php function fgetcsv