Queery Model Action |
[eluser]seanloving[/eluser]
I can't figure out why my query is returning the Code: CI_DB_mysql_driver Object ( ...
[eluser]techgnome[/eluser]
What it returns is a query object... to get the results you need to use the ->result() call which will return the results themselves. http://ellislab.com/codeigniter/user-gui...sults.html -tg
[eluser]CroNiX[/eluser]
Code: $q = $this->db->select('name')->where('id', $id)->get('table'); |
Welcome Guest, Not a member yet? Register Sign In |