Code: Select all
$SumQuery = db_query("select SUM(field_432) as totalvalue from app_entity_40 where parent_item_id = ". $current_record_id_value . " limit 1", false);
Code: Select all
$SumQuery = db_query("select SUM(field_432) as totalvalue from app_entity_40 where parent_item_id = ". $current_record_id_value . " limit 1", false);