Welcome Guest, Not a member yet? Register   Sign In
Loop inside a loop in controller.. help needed....:(
#7

[eluser]Roy MJ[/eluser]
No its still listing all the contents from the table friends. The condition that
Code:
$this->db->where('friends.member_id =', $id);
is not taking. One more thing, is there a way of printing the model query as in controller..?? so that i can check how the query is being excecuted..??...

I have removed the condition $this->db->where('friends.status =', 1); also. But still no change...Sad


Messages In This Thread
Loop inside a loop in controller.. help needed....:( - by El Forum - 04-03-2011, 11:21 PM
Loop inside a loop in controller.. help needed....:( - by El Forum - 04-03-2011, 11:28 PM
Loop inside a loop in controller.. help needed....:( - by El Forum - 04-04-2011, 12:19 AM
Loop inside a loop in controller.. help needed....:( - by El Forum - 04-04-2011, 01:07 AM
Loop inside a loop in controller.. help needed....:( - by El Forum - 04-04-2011, 11:59 PM
Loop inside a loop in controller.. help needed....:( - by El Forum - 04-05-2011, 12:12 AM
Loop inside a loop in controller.. help needed....:( - by El Forum - 04-05-2011, 12:22 AM
Loop inside a loop in controller.. help needed....:( - by El Forum - 04-05-2011, 12:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB