Welcome Guest, Not a member yet? Register   Sign In
[Solved] Postgresql and encoding problem
#2

[eluser]farbar[/eluser]
ok
Indeed problem was not from INSERT. I use a callback function to check that field value is unique. I changed this line in callback function from
Code:
$result= $this->db->get_where('books', array('LOWER(name)' => strtolower($name)),1,0);
to
Code:
$result= $this->db->get_where('books', array('name' => $name),1,0);
and now it works fine.


Messages In This Thread
[Solved] Postgresql and encoding problem - by El Forum - 01-28-2009, 12:45 AM
[Solved] Postgresql and encoding problem - by El Forum - 01-28-2009, 09:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB