Codeigniter strange encryption of password
问题 I'm new to Codeigniter and trying to make a user registration. And I've met strange thing. At first I'll tell what exactly I'm doing with my password value: $password = stripslashes($password); $password = htmlspecialchars($password); $password = md5($password); $password = strrev($password); And then I'm saving it to the DB: $data = array( 'email' => $email, 'reg_type' => $reg_type, 'password' => $password ); $this->CI->db->insert('user', $data); And no matter what password I enter, It's