unable to display values from array in a view |
11-25-2017, 01:29 PM
(This post was last modified: 11-25-2017, 01:35 PM by PaulD. Edit Reason: Added PS )
IGNORE THIS:
(Your query is in a for loop so you do not want a single query as written here) Try replacing your query with this: PHP Code: return $this->anotherDb You also do this PHP Code: foreach ($fee_detail as $key => $data) { PHP Code: foreach ($fee_detail as $data) { Does that make any difference? PS I really do not like your for loop to get each student id. Just nest two foreaches, would be cleaner to debug. |
Welcome Guest, Not a member yet? Register Sign In |