tags:

views:

49

answers:

1

Hi everyone,

I have a program which records the time when user clicks the button I have written the timer script in javascript now i want to include this function inside php how can do this.

Thank you,

Swarna

+2  A: 

Use ajax to send the click time details to a php script that will do something with it. ie: log to a database the time of the click.

Iznogood
i@lznogood i don't have any idea about ajax....can you tell me how to do that
Shruti
Google "ajax tutorial"
John Conde
Take a look at the jQuery framework it makes ajax calls simple http://api.jquery.com/jQuery.ajax/
gawpertron
I could never explain all of ajax here but follow the advice givin about going the jquery way. Its easy and there are a ton of good examples.
Iznogood