Welcome Guest, Not a member yet? Register   Sign In
Basic Question for a newbie
#3

[eluser]deineMudder[/eluser]
it seems i cant use any of the db core functions
i just tried

Code:
$dbs = $this->dbutil->list_databases();

foreach($dbs as $db)
{
    echo $db;
}

my whole function was
Code:
function user_authorize()
    {
        parent::Controller();


        $dbs = $this->dbutil->list_databases();

foreach($dbs as $db)
{
    echo $db;
}

        // Retrieve the user name and password from the login form
        $password   = $this->input->post('password', TRUE);
        $username   = $this->input->post('username', TRUE);

        //$this->load->database('default', TRUE);
        //$this->load->model('login_model','','default');
         $auth = $this->Login_model->check_user($username, $password);

        echo "USERNAME: ".$username."<br>";
        echo "Password: ".$password."<br>";

        $this->load->view('login',$data);

    }


i assume there is a general config/settings mistake on my installation Sad
please anyone give me a hint.


Messages In This Thread
Basic Question for a newbie - by El Forum - 06-23-2007, 03:03 AM
Basic Question for a newbie - by El Forum - 06-23-2007, 04:16 AM
Basic Question for a newbie - by El Forum - 06-23-2007, 04:21 AM
Basic Question for a newbie - by El Forum - 06-23-2007, 04:26 AM
Basic Question for a newbie - by El Forum - 06-23-2007, 04:40 AM
Basic Question for a newbie - by El Forum - 06-23-2007, 11:06 AM
Basic Question for a newbie - by El Forum - 07-01-2007, 07:31 PM



Theme © iAndrew 2016 - Forum software by © MyBB