• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Active Record Help?

#4
[eluser]ChangedNames[/eluser]
How am I passing the result to the view? I have this in place currently:
Code:
$this->load->view('episode_view',$data);
Would I then need to change that to something else? I tried working with what you put above and kept ending up with the following error:
Quote:A PHP Error was encountered
Severity: Notice
Message: Undefined variable: episode
Filename: views/episode_view.php
Line Number: 9
Line 9 simply reads:
Code:
<p>Author: &lt;?php echo $episode->author_name; ?&gt;</p>


Messages In This Thread
Active Record Help? - by El Forum - 08-27-2008, 02:08 PM
Active Record Help? - by El Forum - 08-27-2008, 02:12 PM
Active Record Help? - by El Forum - 08-27-2008, 02:20 PM
Active Record Help? - by El Forum - 08-27-2008, 02:39 PM
Active Record Help? - by El Forum - 08-27-2008, 03:04 PM
Active Record Help? - by El Forum - 08-27-2008, 11:08 PM
Active Record Help? - by El Forum - 08-28-2008, 09:32 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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