![]() |
Problems with crud demo - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Problems with crud demo (/showthread.php?tid=40132) |
Problems with crud demo - El Forum - 03-30-2011 [eluser]Unknown[/eluser] Trying to follow this simple crud tutorial: http://fwebde.com/php/simple-crud-with-codeigniter/ Ive only gotten to the first part - Im on 2.0 so Ive updated to 'CI_Model' as appropriate. Looks like its not seeing the model file? Also I have added the php code tags which werent in the demo. http://www.joe-riggs.com/ci/index.php/crud FILES: \ci\application\controllers\crud.php Code: <?php \ci\application\models\posts_model.php Code: <?php \ci\application\views\crud_view.php Code: <?php $this->load->helper('form'); ?> Problems with crud demo - El Forum - 04-01-2011 [eluser]JonoB[/eluser] You need to load the model before you can use it http://ellislab.com/codeigniter/user-guide/general/models.html |