Hello guys, now i have little problem that spend my time not to hard but don't know how to solved this, here is my view
Code:
<?php
foreach ($sum->result() as $row) { ?>
$untung=$row->jumlah_item;
<?php } ?>
<?php
foreach ($sumongkir->result() as $row) { ?>
$ongkir=($row->total);
<?php } ?>
$total=$untung+$ongkir; //it doesn't working, what do i wrong here? please guide me to debug it, thanks