Variable in one query is getting into another query in view
- by Jason Shultz
I have two foreach statements. The variable from one one is somehow getting into another and i'm not sure how to fix it.
Here's my controller:
// Categories Page Code
function categories($id)
{
$this->load->model('Business_model');
$data['businessList'] = $this->Business_model->categoryPageList($id);
…