[eluser]Dam1an[/eluser]
$this->db->select doesn't return anything, it just builds up the query
When setting the username and password, you need to do
Code:
$username = $this->input->post('username');
$password = $this->input->post('password');
Then attempt to get the row which matches these values from the database, if you get 1 result, its a match, else they entered a wrong username and password