[eluser]soarchrist[/eluser]
[quote author="Dyllon" date="1266055323"]You are not passing the data array to your view, and it's throwing an undefined error message because surprise, you haven't defined it.
Edit: Just noticed this was your first post, welcome to the forums.[/quote]
Dyllon,
Thanks for the welcome-- and thanks for the advice. As a side note, my last name is Dillon.
I hear what you're saying, but I need specifics. How do I pass the data array to the view?
I've seen:
Code:
$this->load->view('header',$this->$data);
Code:
$this->load->view('header',$data);
Code:
$this->load->vars($this->$data);
NONE of these work. The error STILL points to line 17, which is in the __construct where it defines the $this->$data['title']. I think my problem needs to be solved on line 17 before I worry about passing it to the view. Any other ideas? How would you write it to pass the $data array to the view?
Thanks again for all your help!
Scott