Welcome Guest, Not a member yet? Register   Sign In
[Solved] Count where
#4

[eluser]Jagar[/eluser]
If you are using PHP5 you can use the chaining method as follow:

Code:
$this->db->from('table_name')->where('column_name',value)->count_all_results();
this is only available in php5.

http://ellislab.com/codeigniter/user-gui...ecord.html


Messages In This Thread
[Solved] Count where - by El Forum - 04-29-2009, 04:34 AM
[Solved] Count where - by El Forum - 04-29-2009, 04:37 AM
[Solved] Count where - by El Forum - 04-29-2009, 04:42 AM
[Solved] Count where - by El Forum - 04-29-2009, 07:29 AM
[Solved] Count where - by El Forum - 04-29-2009, 07:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB