03-11-2003, 12:02 AM
Hi i am trying to design a form that simply adds the value of a series of rows and provides a total I have no idea how to go about this but if someone could provide me a sample of code that basically does addition on two form fields and provides the answer in another field i would be grateful and should be able to take it form there.
03-11-2003, 04:30 AM
Would this be intant changes?
Or do you want it done on submit?
03-11-2003, 04:48 AM
Im not fussed if it is real time or on submit i am informed also that Java script would be the best way but have no idea really, i have some experience in php and mysql but very basic really.
eventually i wiould like it to add up Columns of numbers and submit the totals of the additions to another page but first step first i guess and any bit of code that can add a column of fields would be a start for me
thanks for your time
03-11-2003, 05:41 AM
Well, I am sure with your basic php knowledge, I am sure you would be able to figure out how to add the total on submit, if not, there is the php forum you can look into.
I believe you know exactly how to explain what you need, and you will find many helpful people in either of the two forums that would be happy to give you the code, or start you on your way.
Sorry that I can not be any more help to you.