Multiply text values and display result
<p>i am using below three fields need to <code>multiply</code> the Word Count Values through <code>PHP</code>. ANy Help ? Code as --  <code>1</code> have to <code>select</code> the first <code>dropdown</code> from here..</p>

<pre><code>&lt;select name="sp" id="sp"&gt;
&lt;option value="" selected&gt;Please Select...&lt;/option&gt;
&lt;option value="Editing"&gt;Editing&lt;/option&gt;
&lt;option value="Writing"&gt;Writing&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>Then i have a text box in which the number would be provide,like word 100 200 300, as </p>

<pre><code>&lt;input type="text" name="Word_Count" id="Word_Count" size="10"&gt;
</code></pre>

<p>and third field would be where the price would be calculated on behalf on word from above row (100 200 300 word), as </p>

<pre><code>&lt;input type="text" name="price" id="price" value="" readonly="" size="20"&gt;
</code></pre>

<p>Now if the user will select the <code>Editing</code> from <code>select</code> box, the price would be calculated as <code>100 x 0.02, 200 x 0.02, 300 x 0.02</code> like and the user will select the <code>Writing</code>, the price would be calculated at <code>100 x 0.04, 200 x 0.04, 300 x 0.04</code>. </p>

<p>HOw can i make the sense to get the output more efficiently ? Any help ?</p>
