• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Odd flash issue for me...

#6
[eluser]internut[/eluser]
You guys rock.

Code:
$data->sys_message = $this->session->flashdata('sys_message');

Did not seem to work but this does:

Code:
$id = $this->uri->segment(3);  // Get user ID

$query = $this->db->query("SELECT * FROM users WHERE id='$id'");

if ($query->num_rows() > 0)  {
   $data = $query->row_array();
}

$data['sys_message'] = $this->session->flashdata('sys_message');  // set system message to display

$this->load->view('users_edit',$data);

Thanks a ton fellas.


Messages In This Thread
Odd flash issue for me... - by El Forum - 07-07-2008, 10:49 PM
Odd flash issue for me... - by El Forum - 07-08-2008, 01:19 AM
Odd flash issue for me... - by El Forum - 07-08-2008, 10:13 AM
Odd flash issue for me... - by El Forum - 07-08-2008, 11:04 AM
Odd flash issue for me... - by El Forum - 07-08-2008, 11:04 AM
Odd flash issue for me... - by El Forum - 07-08-2008, 11:10 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.