Welcome Guest, Not a member yet? Register   Sign In
Help on how to Download Database into an Excel Format
#1

[eluser]CocoMansur[/eluser]
Hi,

When i view the data of a certain user in the database i want to download it into an excel format, how can i do this in codeigniter?
#2

[eluser]jprateragg[/eluser]
Just use PHP's native fputcsv function. It will convert your data into a CSV file which you can then view in Excel.
#3

[eluser]CroNiX[/eluser]
Or just use the built in method that takes a database result and converts it to CSV that can then be easily saved.
#4

[eluser]CocoMansur[/eluser]
Thanks, got it!

Now, I would like to write on a certain cell # or column, how can i do this?

or is it possible to create a csv file from a HTML Table that is displayed on the browser?




Theme © iAndrew 2016 - Forum software by © MyBB