title: I want to run PHP script onclick event of button tag is it possible
body: <p>Here is the code that I want to run...the calculation is in PHP and I want it to run on onclick event of the button tag. </p>
  
  <pre><code> &lt;button onclick = "myFunction()"&gt; Click here to calculate&lt;/button&gt;
    &lt;script&gt; 
    function myFunction()
    { &lt;?php $x = 100; $y = 2;
     echo "This is multiplication of x and y ="." ". $x*$y."&lt;/br&gt;"; 
     echo "This is addition of x and y ="." ".($x + $y)."&lt;/br&gt;";
     echo "This is subtraction of x and y ="." ".($x - $y)."&lt;/br&gt;"; 
     echo "This is division of x and y = "." " .$x/$y."&lt;/br&gt;";
     echo "This is remainder of x and y ="." ". $x % $y."&lt;/br&gt;"; ?&gt;
   }
   myFunction();
   &lt;/script&gt;
  </code></pre>
  
  <p>is this possible ?
  please help me out..</p>