• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
is this ok in a view?

#5
[eluser]Fenix[/eluser]
Ok, I was just thinking that the header view (where the link would go) is going to be on every page so it would get annoying having to check the login status every time you load a view...

something like...
Code:
$data['logstatus'] = $this->session->userdata('id');
$this->load->view('template_view',$data);
every time...


Messages In This Thread
is this ok in a view? - by El Forum - 08-22-2008, 09:18 AM
is this ok in a view? - by El Forum - 08-22-2008, 10:20 AM
is this ok in a view? - by El Forum - 08-22-2008, 01:53 PM
is this ok in a view? - by El Forum - 08-22-2008, 02:28 PM
is this ok in a view? - by El Forum - 08-22-2008, 02:35 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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