CSV to mysql databse!!! |
[eluser]Rabbi[/eluser]
I want to know, is there any method or way to convert CSV file to mysql with CodeIgniter? I know it with phpMyAdmin. But i want to know with CodeIgniter, is it possible? Please tell me.
[eluser]EEssam[/eluser]
I think you should code the good part of that yourself, however it's pretty easy.
[eluser]Rabbi[/eluser]
Ok thanks everybody. Can you show me, how to do it in CodeIgniter?
[eluser]marcoss[/eluser]
WTF! Use MySQL to import a CSV? how would you debug that? validate data? split large files? etc, etc, etc. Data should be validated before being used in a database, use one of the many CSV parsers available and prepare your data first. I would recommend http://code.google.com/p/parsecsv-for-php/, does what it says and supports PHP 4/5. |
Welcome Guest, Not a member yet? Register Sign In |