CodeIgniter Forums
Export to CSV - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: Best Practices (https://forum.codeigniter.com/forum-12.html)
+--- Thread: Export to CSV (/thread-69671.html)



Export to CSV - viorelepuran - 01-03-2018

Hello guys, 

I just signed up here, to ask you for your help.

I have a forum built in codeigniter, and i want to migrate over to vbulletin.

The problem i am facing right now is that i do not know how to create a export to csv query.

Has anyone done that before, or can someone point me in the right direction to export the forum data in a csv?


Thank you!


RE: Export to CSV - dave friend - 01-03-2018

What you want is the Database Utility Class method csv_from_result().

If you want more help than that then you will need to provide more information on what you need to do.