calling a php function from Javascript same file
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4172976/calling-php-function-within-javascript">Calling PHP Function within Javascript</a>  </p>
</blockquote>



<p>I have a small JavaScript code in a php file. This JavaScript code runs some logic and in the end should call a php function which is defined in the same php file. How can I do this ? any guidance ?</p>
