[eluser]Narkboy[/eluser]
Ahhh - ok
Code:
$data['id_products'] = $this->input->get('id_products');
should read:
Code:
$data['id_products'] = $id_products;
CI takes the get paramaters and makes them available as whatever you specify in the function declaration.
So function controller($param1, $param2) is called as:
example.com/controller/foo/bar
$param1 == 'foo'
$param2 == 'bar'
Try that!
Edit:
OR just use:
Code:
redirect(base_url().'administracao/cad_produto/upload/'.$id_products, 'refresh');