I need some help in calculating the value and get the total before submitting the data to the database. I am using PHP and Mysql.
for ex..
Field1 : $ 100
Field : $ 200
Field : $ 300
Ttotal ____________
errr...
$total = field1 + field2 + field3;
Either you need to get back to basics or your question doesn't actually ask what you want to know.
I think he is saying it prints out from a query....in each row just add to a total variable then print that total at the bottom.