I'm trying to figure out why I'm getting the error You must use the "set" method to update an entry.
when I use the following method. I am using Jamie Rumbelow's MY_Model to do this.
$this->failed_login->insert_login_attempt($this->input->ip_address(),
$post_username,
gmdate('Y-m-d H:i:s', time()));
public function insert_login_attempt($user_ip_address, $username,
$datetime_of_attempt)
{
$failed_attempt = array(
'user_ip_address' => $user_ip_address,
'username' => $username,
'datetime');
$this->db->insert($failed_attempt);
}