Generate a CSV file? |
[eluser]chefnelone[/eluser]
Hello, I have a table (sql) with clients' data. I'd like to generate (on the fly) a csv file with this data to be ready to download. Is there any library or class to do this?
[eluser]LuckyFella73[/eluser]
Hi chefnelone, There is this nice function (Database Utilities): http://ellislab.com/codeigniter/user-gui...s.html#csv Additionally you can use the file helper "write_file" to sava the .csv data on your webserver.
[eluser]Unknown[/eluser]
Hello, I want to insert a CSV file into a mysql table (the inverse of Generating CSV file from sql table) I searched the forum but couldn't find any example. I appreciate if anybody link a brief procedure of doing that.
[eluser]LuckyFella73[/eluser]
The easiest way would be to import your csv file via phpmyadmin. |
Welcome Guest, Not a member yet? Register Sign In |