Welcome Guest, Not a member yet? Register   Sign In
Problem with pdo
#1

[eluser]Unknown[/eluser]
Hello,

I have a problem with the pdo, I use actually a oracle database.

With pdo, I can make insert, delete, update (it's work) but the select return always 0 rows.

I hope someone can help me.

My code of select to my model is:

Code:
public function read($select = '*', $where = array())
{
  return $this->db->select($select)
       ->from($this->table)
       ->where($where)
       ->get()
       ->result();
}
I have try with the query() function too, but it's the same.


Thank you very much to your anwser.
(sorry for my english Wink)




Theme © iAndrew 2016 - Forum software by © MyBB