06-06-2012, 02:52 PM
[eluser]hamobi[/eluser]
I am making a query and getting result_array
however after I get my array I am iterating through it to add a few new keys and values. I need to output this to csv, but the 'csv_from_result' function only accepts the $this-db->get() object. I have tried converting my array to an object using some functions I googled but nothing is doing the trick.
I keep getting the error 'must submit valid object' or whatnot. Anyone have experience with this?
I am making a query and getting result_array
however after I get my array I am iterating through it to add a few new keys and values. I need to output this to csv, but the 'csv_from_result' function only accepts the $this-db->get() object. I have tried converting my array to an object using some functions I googled but nothing is doing the trick.
I keep getting the error 'must submit valid object' or whatnot. Anyone have experience with this?