Run a php function when click on a button
<p>I have a php script page with a form like this:</p>

<pre><code>&lt;form method="post" action="clientmanager.php"&gt;
&lt;input type="text" name="code_client" id="code_client" /&gt;
&lt;input type="submit" value="Save" /&gt;
&lt;/form&gt;
</code></pre>

<p>In my file "clientmanager.php", I have a function for example "addClient()".
I want to click the button and only call the function "addClient()" in the file "clientmanager.php" instead of call the whole file "clientmanager.php", So how could I do??
Thx!!!!</p>
