Welcome Guest, Not a member yet? Register   Sign In
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



Theme © iAndrew 2016 - Forum software by © MyBB