I have a simple query and a simple fetch row:
$quar=mysql_query("SELECT 
                    COALESCE(sum(impression),0) as imps
                   ,COALESCE(sum(clk_count),0) as clks
                   ,COALESCE(sum(money_spent),0) as monspen,time 
                  FROM `$table_name` 
                  WHERE $uid_str $aid_str $timestr time=$temp_time_main 
                  GROUP BY time 
                  ORDER BY time");
$row=mysql_fetch_row($quar);
echo '<pre>';
print_r($row);
The query runs ok, no error, not returning false. Echoed the query and tried in PhpMyAdmin, returning results ok.
Printing $row still returns nothing, tried with fetch assoc, fetch array too. Turned on error_reporting(E_ALL); and voila, print_r returns the array. Disabling error report, returns nothing again. What can be the problem?
 
     
     
     
    