Need help exporting data to CSV, Excel and XML |
[eluser]geshan[/eluser]
Dear All, I'm working on something and I need to export the results of a query (table mainly) to .CSV,.xls and .xml (.pdf) also ok. So please help me with it how do I do it in CI?
[eluser]xwero[/eluser]
$this->dbutil->csv_from_result($db_result) and $this->dbutil->xml_from_result($db_result). To xsl seems a little strange as it is a transforming file.
[eluser]Ch!ps[/eluser]
Derek Allard, http://www.derekallard.com , has created a wonderful plug-in to export as Excel file. http://codeigniter.com/wiki/Excel_Plugin/ Pretty certain he has developed one for XML as well
[eluser]llbbl[/eluser]
http://ellislab.com/codeigniter/user-gui...s.html#csv |
Welcome Guest, Not a member yet? Register Sign In |