distance cost calculator
<p>Hello I am looking for a distance cost calculator like airports, taxi firms would have for example:</p>

<p>from x to xx it will cost ...</p>

<p>here is what i have made with help from some others here: <a href="http://pastebin.com/0pSF7VsA" rel="nofollow">http://pastebin.com/0pSF7VsA</a>
however i cannot work out how to get it to work e.g. do the maths when the user selects it from the form.</p>

<p>here is my form so far: <a href="http://pastebin.com/sq14eYMQ" rel="nofollow">http://pastebin.com/sq14eYMQ</a></p>

<p>thanks</p>
