title: How do I trigger a php function on onclick event?
body: <p>For instance I have a php function </p>
  
  <pre><code>&lt;?php
     function SayHi($msg){
         return $msg;
     }
  ?&gt;
  </code></pre>
  
  <p>The following part triggers the onclick event </p>
  
  <pre><code>&lt;a href="" onclick=""&gt;Click&lt;/a&gt;
  </code></pre>
  
  <p>How can I merge the two such that when I click on <code>Click</code>, the php function is invoked..?</p>