[eluser]rfrancis[/eluser]
OK, here is what I'm trying to do. I have a search function that involves up-to fifty (50) fields. The search results are sent to a view that outputs a table, that is a pretty basic exercise that works with no problem.
Here is where I run into trouble. I also want to export the query results to CSV, however I need to remove some of the fields from the results, and other fields I need to replace the value.
Based on the size of the query, I'd rather not run it a second time. I'd prefer to modify the result and send it on to CI's csv_from_result.
Can anybody give me a point in the right direction for modifying the query result object? Or is my best option to build my own utility for processing the results and outputting the CSV without using CI's csv_from_result?
Thanks is advance for any thoughts or ideas...
Rory