[eluser]mmarcus44[/eluser]
Well an example would be:
database fieldname = social_security
and I want the title in the csv to be "Social Security Number"
In your example I can't select social_security as "Social Securtiy Number"
It almost seems like a good way to do it is to pass in a 4th argument called $mapping where $mapping would be an array of replacements for certain field names.
We would need to process those mappings in the function as well
echo $this->dbutil->csv_from_result($query, $delimiter, $newline, $mapping);
Guys got any ideas?