tags:

views:

49

answers:

1

Possible Duplicates:
how to call php function in JS?
Javascript and PHP functions

Hi,

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

A: 

This could help you.

http://www.w3schools.com/PHP/php_ajax_database.asp

Vikas