Report - Year-wise-Total()

uri->total_segments(); $ab=$this->uri->segment($last); foreach($ytotal as $rel) { ?>
Supplier Name Material Name Quantity Total Value  (in )
supplier_name;?> material_name;?> quantity); echo round($rel->quantity);?> total; echo $rel->total;?>