kwangu

CI 3.1.11 query filtering not working

Feb 10th, 2022
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.21 KB | None | 0 0
  1.  $query = $this->db->select_sum('sold_price')->from('tbl_sales')->where('category_ID', $caid,'sold_date >=',$prev_year_start_month,'sold_date <=',$prev_year_end_month)->group_by('category_ID')->get()->row()->sold_price;
Add Comment
Please, Sign In to add comment