Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter get_where
#11

[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.


Messages In This Thread
CodeIgniter get_where - by El Forum - 10-16-2009, 04:42 AM
CodeIgniter get_where - by El Forum - 10-16-2009, 04:47 AM
CodeIgniter get_where - by El Forum - 10-16-2009, 04:56 AM
CodeIgniter get_where - by El Forum - 10-16-2009, 05:18 AM
CodeIgniter get_where - by El Forum - 10-16-2009, 05:27 AM
CodeIgniter get_where - by El Forum - 10-16-2009, 06:07 AM
CodeIgniter get_where - by El Forum - 10-16-2009, 06:15 AM
CodeIgniter get_where - by El Forum - 10-16-2009, 06:28 AM
CodeIgniter get_where - by El Forum - 10-16-2009, 06:37 AM
CodeIgniter get_where - by El Forum - 10-16-2009, 07:44 AM
CodeIgniter get_where - by El Forum - 10-16-2009, 07:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB