how to call a PHP function from a form button
<p>I have a form in my <code>index.html</code> that looks like this:</p>

<pre><code>&lt;form name="form" method="post" action="send.php"&gt;
  .
  .
  .
  .
</code></pre>

<p>Inside my <code>send.php</code> I have to functions, <code>function generatekey ()</code> and <code>function postData()</code>, how call I call the <code>postData()</code> function from my <code>action</code> attribute in my form? </p>
