Run a php function upon button click?
<p>Okay, I managed to call a php script page with a form, this way:</p>

<pre><code>    &lt;form action="action.php" method="post"&gt;
Name: &lt;input type="text" name="txt"/&gt;
&lt;input type="submit" /&gt;
&lt;/form&gt;
</code></pre>

<p>But I don't really want to call the "action.php" page. I just want to call a php function I got defined in this same page... I tried editing the action attribute in the form with no success.</p>
