The right way to redirect |
[eluser]connors[/eluser]
I'd use Code: redirect(site_url('dev/test'), 'refresh'); To get the message to another page, use flash data. Code: $this->session->set_flashdata('upload_message', 'Successfully uploaded '.$data['data']['upload_data']['orig_name']); Code: if(isset($this->session->flashdata('upload_message')) echo $this->session->flashdata('upload_message'); |
Messages In This Thread |
The right way to redirect - by El Forum - 04-16-2010, 01:28 PM
The right way to redirect - by El Forum - 04-16-2010, 01:37 PM
The right way to redirect - by El Forum - 04-16-2010, 02:34 PM
The right way to redirect - by El Forum - 04-16-2010, 03:46 PM
The right way to redirect - by El Forum - 04-16-2010, 03:49 PM
The right way to redirect - by El Forum - 04-19-2010, 06:56 AM
The right way to redirect - by El Forum - 04-19-2010, 06:58 AM
|