How to call a php function from Javascript
<blockquote>
  <p><strong>Possible Duplicates:</strong><br>
  <a href="http://stackoverflow.com/questions/3761448/how-to-call-php-function-in-js">how to call php function in JS?</a><br>
  <a href="http://stackoverflow.com/questions/221396/javascript-and-php-functions">Javascript and PHP functions</a>  </p>
</blockquote>



<p>Hi,</p>

<p>I would like to invoke different php function with client window resolution.Consider
if the users browser is large enough, then I would like to show a message from php function as vertical and if the browser is less than 960px wide then and only I would like to show the message as horizontal component.Any suggestions please...
Thanks</p>
