Welcome Guest, Not a member yet? Register   Sign In
Adding where clause to count_all
#2

[eluser]toopay[/eluser]
Code:
$this->db->where('foo', 'bar');
$this->db->from('some_table');
echo $this->db->count_all_results();


Messages In This Thread
Adding where clause to count_all - by El Forum - 07-21-2011, 09:35 AM
Adding where clause to count_all - by El Forum - 07-22-2011, 02:23 AM
Adding where clause to count_all - by El Forum - 07-22-2011, 11:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB