[eluser]terry101[/eluser]
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();
$this->load->model('Usermodel');
?