[eluser]s.passiatore[/eluser]
[quote author="mddd" date="1276617209"]I really don't see the problem here. You already have the data. Just output it.
Why are you saving it to a file and then loading it again? That doesn't make any sense.
Code:
$this->load->helper('download');
$data = $this->LoadResults->load($this->input->post('excl_type'));
force_download('myfilename.csv', $data);
// done.
[/quote]
Ok... it was to easy... sorry!
stefano