CodeIgniter Forums
CodeIgniter get_where - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: CodeIgniter get_where (/showthread.php?tid=23605)

Pages: 1 2


CodeIgniter get_where - El Forum - 10-16-2009

[eluser]doubleplusgood[/eluser]
Thanks n0xie. I now know what was going on. I'm using this line to get the user information;
$owner = $this->auth->get_user();

And it was trying to pass all of the information into the array, so it would never have returned a match. I need to pick out the userid from the above line.

Tested by replacing $owner with my userid 10.