Welcome Guest, Not a member yet? Register   Sign In
Creating basic Register (username/login/password)
#23

[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"


Messages In This Thread
Creating basic Register (username/login/password) - by El Forum - 08-04-2011, 07:19 PM
Creating basic Register (username/login/password) - by El Forum - 08-04-2011, 10:52 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 01:56 AM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 12:25 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 12:35 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 01:32 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 02:15 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 02:24 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 02:35 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 02:38 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 02:39 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 02:45 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 02:47 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 02:52 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 02:54 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 02:56 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 03:03 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 03:04 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 03:05 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 03:05 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 03:07 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 03:09 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 03:09 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 03:14 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 03:15 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 03:16 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 03:18 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 03:21 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 03:23 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 03:26 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 03:27 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 03:32 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 03:33 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 03:35 PM
Creating basic Register (username/login/password) - by El Forum - 08-05-2011, 03:38 PM



Theme © iAndrew 2016 - Forum software by © MyBB