Call to a member function myfunction() on null |
(05-28-2016, 05:25 AM)mhmttdgnn Wrote: <?php that probably should be class Cuzdan extends Admin_Controller { Suggest that you work in standard controllers first and get it working. Then you can get fancy. If you have not done the codeigniter tutorial in the manual - then do that first.
UC stands for Upper Case, so name your model like this
PHP Code: class Cuzdan_model extends CI_Model{
Sounds like $islem is null give it a default value or check to see if it is null.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |