Welcome Guest, Not a member yet? Register   Sign In
$this->db->get_where
#2

I'm not seeing anything in the code which would cause that SQL to be output when calling $this->db->get_where() with those arguments. However, after you've passed $this->input->post('pwd') through trim() and md5(), I don't think you're going to get null (this doesn't explain why 'password' is not in your where clause).

Additionally, you shouldn't be using md5() for passwords. See the PHP manual for details: http://php.net/manual/en/faq.passwords.p...s.fasthash
Reply


Messages In This Thread
$this->db->get_where - by szhuge1 - 07-19-2016, 06:42 AM
RE: $this->db->get_where - by mwhitney - 07-19-2016, 09:45 AM
RE: $this->db->get_where - by Avenirer - 07-19-2016, 11:28 PM
RE: $this->db->get_where - by InsiteFX - 07-20-2016, 03:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB