How to go back to the previous page with the form data using codeigniter

Asked

Viewed 127 times

1

Good afternoon using codeigniter how do I get back to the previous page without losing the form data? this data came from a controller and passed by parameters to a view, when I access another page and click back the page does not come back is blank the screen.

$data['id'] = $this->input->post('id');
$this->load->view('cadastro', $data);

I enter the registration part and click change, and before changing the registration if I click back (button) it does not return the registration page, already add way in $route['register'] but still unsuccessful.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.