Welcome Guest, Not a member yet? Register   Sign In
$this->load->model('Account'); doesn't work.. i had to use $this->load->model('Account_model');
#7

[eluser]Eric Barnes[/eluser]
It does not have to have _model in the file name. You could just use models/Account.php if you wanted. But most use _model or _m so that they do not have any class name collisions with controllers or other files.


Messages In This Thread
$this->load->model('Account'); doesn't work.. i had to use $this->load->model('Account_model'); - by El Forum - 04-25-2011, 08:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB