Sum of Dynamic Column

Codes here !

Moderators: macek, egami, gesf

Post Reply
landi
php-forum Active User
php-forum Active User
Posts: 384
Joined: Thu Mar 15, 2012 3:59 pm

Re: Sum of Dynamic Column

Post by landi » Tue Aug 05, 2014 11:13 am

Hi,
Maybe add:

Code: Select all

  echo $total_product; 
  $sProdCode = $product['id'];
  $aTotal[$sProdCode] += $total_product;
Then print out $aTotal[xxx] at the end.

-A

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest