Active Queries problem |
Here is my query
Code: $this->db->select('amount AS SavingAmount'); On checking in browser its generating this query below Code: SELECT *, *, `amount` AS SavingAmount FROM (`cashman_trial_balance`) WHERE `category_id` = '176' AND `clientId` = '122' AND `year` = '2015/2016' I dont know from where the two stars coming from? Controller code Code: $som_var = $this->client->statistics(); Model code Code: function statistics() |
Messages In This Thread |
Active Queries problem - by codebigneer - 07-08-2015, 02:32 AM
RE: Active Queries problem - by gadelat - 07-08-2015, 07:38 AM
RE: Active Queries problem - by codebigneer - 07-08-2015, 09:36 PM
RE: Active Queries problem - by mwhitney - 07-09-2015, 10:01 AM
RE: Active Queries problem - by codebigneer - 07-15-2015, 12:15 AM
RE: Active Queries problem - by mwhitney - 07-15-2015, 07:06 AM
|