UPdate a variable depends on another variable changes

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
php-forum Super User
php-forum Super User
Posts: 1803
Joined: Thu Mar 10, 2011 5:07 pm

Sun Apr 14, 2013 7:41 pm

Do a display only after you complete the entire processing

New php-forum User
New php-forum User
Posts: 20
Joined: Tue Mar 06, 2012 11:05 pm

Mon Apr 15, 2013 1:11 am


PHP always runs the first line and go the next. SO here you have to do two loop.

First: Do first loop to calculate calculate the total and display it.
Second: do another loop to daisplay Individual Break Down


Post Reply