CodeIgniter Forums
Help with planning a CI project - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Help with planning a CI project (/showthread.php?tid=27995)

Pages: 1 2 3 4 5 6


Help with planning a CI project - El Forum - 05-17-2010

[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();



Help with planning a CI project - El Forum - 05-17-2010

[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.


Help with planning a CI project - El Forum - 05-17-2010

[eluser]invision[/eluser]
You did Smile

Thanks again. Will see how I get on.