Re: Importing CSV into MySQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I remember reading in a book that there is a function to import the
content of a CSV file into a MySQL table, am I alright? what is that
function?

Of course, the first option could be reading the CSV file line by line
and using explode() to get each column value for each row.

I think LOAD DATA INFILE might be one option

But then the file has to be on the db server first... if my memory is right.

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux