Problems with crud demo |
[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'); ?>
[eluser]JonoB[/eluser]
You need to load the model before you can use it http://ellislab.com/codeigniter/user-gui...odels.html |
Welcome Guest, Not a member yet? Register Sign In |