Welcome Guest, Not a member yet? Register   Sign In
possible to use csv_from_result on a non object?

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 ended up using this function instead


Theme © iAndrew 2016 - Forum software by © MyBB