Dirt_Diver
01-03-2009, 05:44 PM
I have a website that I am working on for one of our companies and I need to do some simple math within the page and have it return some results.
Here is the page:
http://www.salmipropertyholdings.com/mao.php
What I'm trying to do is have the user input the
House Price (HP):
After Repair Value (ARV):
Percent:
and the repair costs (RC):
then I want the page to do the math and return the results in the MAO box.
The formula I need is: ARV x Percent - RC = MAO
I don't know how to right the code or input it into a database if I need too so I was wondering if someone could help me or get me on the right track to find out how to do this.
I see bank sites do things like this all the time but never really thought about how it was done until now.
Here is the page:
http://www.salmipropertyholdings.com/mao.php
What I'm trying to do is have the user input the
House Price (HP):
After Repair Value (ARV):
Percent:
and the repair costs (RC):
then I want the page to do the math and return the results in the MAO box.
The formula I need is: ARV x Percent - RC = MAO
I don't know how to right the code or input it into a database if I need too so I was wondering if someone could help me or get me on the right track to find out how to do this.
I see bank sites do things like this all the time but never really thought about how it was done until now.