[eluser]Thiago Leao[/eluser]
hi friends,
I want to insert encrypted id.
md5 (uniqid ())
How do the query here?
Code:
function insert($data){
$array = array('nome'=> $data['nome'], 'login' => $data['login'], 'senha' => $data['senha'], 'date' => date('Y-m-d'), 'session_date' => date('Y-m-d h:m:s'));
$this->db->set($array);
$this->db->insert('users');
}
thanks!!