Welcome Guest, Not a member yet? Register   Sign In
How would you display message/errors/notices to the user?
#11

[eluser]Mike Ryan[/eluser]
Using flashdata is unecessary, as you do not need to store the information between page requests. Just use an $errors array as described in my previous post.

If you *really* want to use flashdata...
Code:
//controller
$errors[] = "first error";
$errors[] = "second error";
$this->session->set_flashdata('notice', $errors);




Theme © iAndrew 2016 - Forum software by © MyBB