php begineer

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
samreenshinde
Forum Newbie
Posts: 3
Joined: Sat May 12, 2012 4:40 am

php begineer

Post by samreenshinde »

Can I get a simple php code to measure how many words per minute someone can type?
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: php begineer

Post by Christopher »

You probably want to do that in Javascript. Search and you should find examples.
(#10850)
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: php begineer

Post 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.
Post Reply