Jump to content

Adding rows


major insult

Recommended Posts

Edit: darn, too slow on the Post button... same answer as above ^^^

 

Umm. He is using php code to total up values, but only wants to echo the final total.

 

The answer is simple, put the echo $total; statement after the end of your while() loop.

Link to comment
https://forums.phpfreaks.com/topic/84379-adding-rows/#findComment-429772
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.