Thanks for your suggestion, am told there is a way you can create duplicate hidden fields then pass the fields to the insert into table name and you will get the calculated values into teh database I have tried it to no avail,

I am going to try the above xml, jquery I works, nway that is just part of a system am developing, and a db is very necessary

On Fri, Dec 4, 2009 at 11:07 AM, Calvin Omari <calvinebarongo@gmail.com> wrote:
TI used javascript because that is what i know and that is just piece of the code, I have database declarations and captured the inputs of which are not entered into the database, I think the big issue is how do i capture users entering data that is bound to be calculated at a standard rate eg users to enter first milleage reading then last milleage reading , javascript or any other to get the diffrence and then multiply by the rate to get what he or she is supposed to be payed/pay

Thanks again so much for your response

On Fri, Dec 4, 2009 at 10:56 AM, aki <aki275@googlemail.com> wrote:
@Calvin,
 
I have a question for you. Why use a database? (Also, I dont see any declaration to accessing the Db connection or do things work differently in php world )
 
This was a decision I had to make in my learning process and am now working with XML which can also store organized portable data creating a lite system. You can also use the data later to work on different systems.
 
Me hobbyist thots.. :-)