• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
undefined table data, pagination related

#4
[eluser]zgames[/eluser]
Code:
function count_all($gender){
     $this->db->count_all($this->edit_pages);
     $query = $this->db->get_where($this->edit_pages, array("gender" => $gender));
     return  $count = $query->num_rows();
}
seems to work

thanks for solution


Messages In This Thread
undefined table data, pagination related - by El Forum - 05-29-2012, 03:37 AM
undefined table data, pagination related - by El Forum - 05-29-2012, 08:26 PM
undefined table data, pagination related - by El Forum - 05-29-2012, 08:55 PM
undefined table data, pagination related - by El Forum - 05-29-2012, 10:42 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.