Jump to content

add up looped sums into total


turpentyne

Recommended Posts

I'm trying to figure out how to add up all the $qty_total that exist into an overall total.

 

I hope I'm not oversimplifying my example..

 

I have this: $qty_total = $qty_insert * $d['workshop_price'];

 

$qty_insert loops several times and I want:

 

$overall_total = $qty_total + qty_total + ...however many..

 

 

Link to comment
https://forums.phpfreaks.com/topic/257271-add-up-looped-sums-into-total/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.