Jean-Pierre - 2010-07-21 15:46:27
Hi everyone
Think this might be stupid but it's had me going for the better part of today. I have a form that gets info from a db then populates the relevant fields, however the form gets generated as many times as there are records in the db. My question is this, I have a variable called $total that needs to be added up. When the form generates 6 times I then have 6 $total variables. How do I get those 6 $total's to give me a grand total?
I would really appreciate any help you can give me.
Thanks