[eluser]toymachiner62[/eluser]
[quote author="terry101" date="1312596459"]so are you sayin i should change this
Code:
class User extends CI_Controller{
function __User() {
parent::__Controller();
$this->view_data['base_url'] = base_url();
$this->load->model('Usermodel');
}
into
Code:
class User extends CI_Controller{
function __construct() {
parent:: __construct()();
$this->view_data['base_url'] = base_url();
?[/quote]
It doesn't look like you even changed any thing there. I'm saying take this line
Code:
$this->load->model('Usermodel');
and put it as the first line inside your function "register"