3
I am using Codeigniter and am registering a call in the bank and receive the following message:
public function solicitacaoRapida(){
$banco = array(
'solicitante' => $this->input->post('empresaSolicitante'),
'local' => $this->input->post('localEmpresa'),
'departamento' => $this->input->post('nomeDepartamento'),
'assunto' => $this->input->post('tipoSolicitacao')
);
$this->db->insert('solicitacoes',$this);
redirect(base_url().'home','refresh');
}
To record you should spend $bank instead of $this
– rray
How ? I wrote this function on the controller
– alexjosesilva