CSV

Export Data to CSV

For the past two client projects I worked on, both requested the ability to export their data to comma separated value files (CSV), so that they could view the data in Microsoft Excel. Although it's a very simple thing to do (read in data from the database and spit it out, separated by commas), I wanted something that would make it easier to export next time a client requests it.

Syndicate content