Page 1 of 1

php begineer

Posted: Sat May 12, 2012 4:42 am
by samreenshinde
Can I get a simple php code to measure how many words per minute someone can type?

Re: php begineer

Posted: Sat May 12, 2012 1:34 pm
by Christopher
You probably want to do that in Javascript. Search and you should find examples.

Re: php begineer

Posted: Sun May 13, 2012 3:56 pm
by califdon
samreenshinde wrote:Can I get a simple php code to measure how many words per minute someone can type?
As a PHP beginner, the very first thing you need to learn is that PHP is a server language, so it can never handle anything that the user does (like using the keyboard or the mouse) because it only runs before the page is sent to the browser. What you want to do must be done with Javascript, in the html page.