Welcome Guest, Not a member yet? Register   Sign In
i want my password to be md5 using the codes posted, after execution i checked db content and its not in md5 format
#1

[eluser]Alpha[/eluser]
i want my password to be md5 using the codes posted below, after execution i checked db content and its not in md5 format, is there something i missed? tnx

$this->form_validation->set_rules('password', 'Password', 'trim|required|matches[passconf]|md5');
$this->form_validation->set_rules('email', 'Email', 'trim|required|valid_email');

$this->db->query("INSERT INTO users (email, password) VALUES ('".$this->input->post('email')."', '".$this->input->post('password')."')");


Messages In This Thread
i want my password to be md5 using the codes posted, after execution i checked db content and its not in md5 format - by El Forum - 07-24-2011, 01:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB