Welcome Guest, Not a member yet? Register   Sign In
problem creating a model
#2

[eluser]toopay[/eluser]
this not the final solution, try to call your model diractly/statically, just check if this work..
Code:
...
    public function insertdata($titolo,$data)
    {    
        $this->load->model('Elenco_model');
        //$this->Elenco_model->insert_element($titolo,$data);
        Elenco_model::insert_element($titolo,$data);
    }
...


Messages In This Thread
problem creating a model - by El Forum - 04-07-2011, 05:03 AM
problem creating a model - by El Forum - 04-07-2011, 06:25 AM
problem creating a model - by El Forum - 04-07-2011, 07:38 AM
problem creating a model - by El Forum - 04-07-2011, 07:43 AM
problem creating a model - by El Forum - 04-07-2011, 08:01 AM
problem creating a model - by El Forum - 04-07-2011, 10:59 AM
problem creating a model - by El Forum - 04-07-2011, 02:40 PM



Theme © iAndrew 2016 - Forum software by © MyBB