Answer by Mitchell McKenna for Code Igniter problem, Getting a simple SQL error, what am I doing wrong?
June 11 2011, 3:55pm
Fix your query bindings:
$result = $this->db->query($query_str, array($username, $sha1_password));
June 11 2011, 3:55pm
Fix your query bindings:
$result = $this->db->query($query_str, array($username, $sha1_password));