[eluser]Sinclair[/eluser]
Hi,
I need to use the File Uploading Class, but I'am not sure on how to do this.
In my controller I need to send some data to the view, just like this:
Code:
$this->data_view['cidades'] = $this->Anunciosgratuitos_model->getCidades();
# Neste bloco defino a passagem de variáveis para o template_view
$this->data_template['function_name'] = $function_name;
$this->data_template['title'] = $title;
$this->data_template['resultTemp'] = $resultTemp;
$this->load->view ('common/template_view', $this->data_template);
In the File Uploading Class I need to pass this:
Code:
$this->load->view('upload_form', array('error' => ' ' ));
The question. How can I add the array('error' => ' ' ) to the $this->data_template ?
Best Regards,