• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Passing 2 Variables to your view error

#3
[eluser]Mirge[/eluser]
portgaz is correct.

Since you're wondering why you're not able to retrieve data that you THINK you should be able to access, you'd start generally by looking where you're loading the view:

Code:
$this->load->view('includes/template', $data);

Then, seeing that you ARE passing $data... you'd see what $data contained.

Code:
print_r($data);

And there, you would have found your answer Smile


Messages In This Thread
Passing 2 Variables to your view error - by El Forum - 07-25-2011, 06:58 PM
Passing 2 Variables to your view error - by El Forum - 07-25-2011, 10:04 PM
Passing 2 Variables to your view error - by El Forum - 07-25-2011, 10:13 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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