capturing javascript value in php form
<p>I have an html form with a Javascript that does math functions for each line item.  I would like to be able to capture the results and process them with my php script. How do I capture the javascript result in my php?</p>

<p>My code:</p>

<p>This is the original javascript based line that creates a value:</p>

<pre><code>&lt;input type="text" name="text2" id="text2" value="$" /&gt;
</code></pre>

<p>This is the PHP that sends the results to me.</p>

<pre><code>&lt;input type="text" name="text2" id="text2" value=&lt;?php  phpfmg_hsc("text2", ""); ?&gt; /&gt;
</code></pre>

<p>how do I get the <code>value"$"</code> into my <code>("text2", "")</code> </p>

<p>suggestions?</p>
