Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Access this variable within the view
Post: Access this variable within the view

I have the following two functions of which I load them into my "welcome_message" view passing through the parameters the $page_data. I am trying to access $result['unknown_Leads_not_assigned_previous...
1,169 Views
1 Replies
07-13-2020, 07:53 AM
andreaccident
    Thread: Array to string conversion
Post: RE: Array to string conversion

jreklund Wrote: (07-09-2020, 11:01 AM) -- Foreach works this way. Code: -- foreach($google['Google_assigned_previous_day'] as $array) {   echo $array['sale']; } -- -- Thank you that wor...
2,454 Views
4 Replies
07-09-2020, 11:09 AM
andreaccident
    Thread: Array to string conversion
Post: Array to string conversion

I am trying to print the values from my array: print_r($google['Google_assigned_previous_day']); -> this works but prints: Array ( [0] => Array ( [sale] => 0.00 ) ). I want to be able to get the valu...
2,454 Views
4 Replies
07-09-2020, 10:53 AM
andreaccident
    Thread: Convert my sql query to codeigniter syntax
Post: RE: Convert my sql query to codeigniter syntax

PHP Code: -- $sql = "SELECT COALESCE(sum(`lead_att`.`cost`), 0) as sale         FROM `lead_att`         JOIN `leads` ON `lead_att`.`lead_id` = `leads`.`lead_id`         WHERE (            `leads...
2,901 Views
4 Replies
07-06-2020, 10:19 AM
andreaccident
  Lightbulb Thread: Convert my sql query to codeigniter syntax
Post: Convert my sql query to codeigniter syntax

I have a query which is: SELECT COALESCE(sum(`lead_att`.`cost`), 0) as sale FROM `lead_att` JOIN `leads` ON `lead_att`.`lead_id` = `leads`.`lead_id` WHERE (     `leads`.`test_mode` = FALSE    ...
2,901 Views
4 Replies
07-06-2020, 08:15 AM
andreaccident

Theme © iAndrew 2016 - Forum software by © MyBB