[eluser]Unknown[/eluser]
Hello guys
I'm new in CI, could you please help me in my problem...
I'm having some trouble in my controller
user.php
Code:
<?php
class User extends CI_Controller{
function User()
{
parent::Controller();
$this -> view_data['base_url'] = base_url();
}
function index()
{
$this -> register();
}
function register()
{
$this -> load -> view('view_register',$this->view_data);
}
}
?>
and I have my view :view_register.php
where is the error?i can't find it.
I have set my controller :user.php in the /application/config/routes.php
Thank you in advance...