title: How can I trigger a php function?
body: <p><br />
  I want to trigger a php function like this- <br /></p>
  
  <p><em><strong>"If I click Here"</em></strong> (it can be a button or link)</p>
  
  <p>// then this function would work:</p>
  
  <pre><code>&lt;?php
  function a(){
  $b=10;
  echo $b;
  }
  ?&gt;
  </code></pre>
  
  <p>How can I do that without ajax ? (I don't want to reload the page.You can show me way to put that php function inside javascript too if required)</p>
  
  <p>-Thanks.</p>
  
  <p><em><strong>"Edit" :</em></strong> Would it be possible by php cURL ?</p>