Help with planning a CI project

#51
[eluser]invision[/eluser]
I get NULL Sad

Currently:

Code:
$this->load->model('MPdfs');
$data['posts'] = $this->MPdfs->getAllPdfs();
$this->load->vars($data);
    
echo var_dump($posts);
exit();

#52
[eluser]Ivar89[/eluser]
Then $posts is not storing any data
and my appologies becuase I LOVE to help you further but I also recently started with CI and I dont know how to fix it from the top of my head:S and I am going home from work now because I am done for today^^

good luck with it, I'll come check again later tonight.

hope I helped you a littleSmile

small hint(probably already done it): just check every line that is suppose to help getting the result for $posts in your view.

#53
[eluser]invision[/eluser]
You did Smile

Thanks again. Will see how I get on.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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