Hi, I need a small website tool in PHP, Javascript/ MySQL.

The tool should do the following (please see picture):

-The website should be connected to a MySQL database (so that I can run it on my own machine or any other server).

-All keyboard keys are disabled except the numpad keys!

-All numpad inputs are logged.

-There are 3 fields (A, B, C).

-Field A displays a random double/float number range 1-999 (with two decimals after 0 for example 425.23 or 999.99

-Field B is a textfield (with focus on-website load) so that people can enter the given number from field A.

For example they see 33.33 in field A and use the numpad to enter this number again in field B.

-All numpad keys that they press must be logged to the database (or text file but database would be easier I think)

-By pressing ENTER on the numpad the number of Field A and B will be saved in the database and compared!!! (can be as string) will be easiest I think.

-If they are the same then Field C should display 100.

-Also by pressing enter the website should call itself again or refresh and generate a new double number so that someone can do the same thing again.

-It is like a game, each time the number is correct Field C will be increased by 100 ( for example 100, 200, 300)

-if the entered number is not the same for example 33.3 and someone types 3.33 then the score should stay the same. BUT still everything logged in the database,

The structure of the database (log) should look something like:



1 timestamp 201.20 201.20 2,0,1,.,2,0,ENTER 100 // example for correct entered number

2 timestamp 133.33 13.333 1,3,.,3,3,3,ENTER 100 // example for wrong number - note the score (100) stays the same

3 timestamp 500.00 500.00 5,0,0,0,+,5,0,0,.,0,0,ENTER 200 // !!!! example fo correct entered number score increased to 200 BUT as you can see in the log the user pressed the "+" key on the numpad. By pressing this key FIELD B should be cleared and the user can enter the number again (like a calculator). Still all keys are logged

The idea is once you go to the website you can play this game as long as you want. Every time your number is entered is correct your score will be increased. If not nothing happens but still everything will be logged in the database.

That's all except one more small thing:

The random generated double or float number in field A should have this properties:

if the random generation process generates 230.30 then it should be displayed and saved as 230.3

also the following example properties: 230.0 displayed as 230, 1.0 displayed as 1, 15.11 displayed as 15.11, 15.10 displayed as 15.1,

these are just examples. The idea is basically remove any unnecessary 0..


Skills: AJAX, HTML, Javascript, MySQL, PHP

See more: random no generation in c, n is a number, javascript tool, javascript look for a string in a string, idea generation tool, examples of idea generation, example of idea generation, c generate random number in range, following number, server load log, mysql load text, string float, load text mysql, generate random number, number call random people, number look, random javascript game, double score double, number game, game press, php string remove, double double, Machine Tool, generate random string string, random string

About the Employer:
( 23 reviews ) London, United Kingdom

Project ID: #2561745

Awarded to:


I am ready to complete your project. Please read your pm.

£30 GBP in 2 days
(14 Reviews)

9 freelancers are bidding on average £33 for this job


Hi! We are highly interested in this regard! Please check your PMB for more details and let's proceed further discussions to begin work on your project ASAP!

£30 GBP in 1 day
(74 Reviews)

We will implement the same game for you. We will use the jquery for the same. Our skype id: solutionswithus Please provide a chance to work with you. Hope for good response.

£50 GBP in 1 day
(7 Reviews)

Hi, I can develop it for you. Thanks

£30 GBP in 1 day
(6 Reviews)

Hi, very easy I can do it quick

£45 GBP in 1 day
(37 Reviews)

Ready to start right now.....please consider my bid.......... Please check PM .

£20 GBP in 1 day
(20 Reviews)

In less then 4 HOURS I'll show you a full working demo.

£30 GBP in 0 days
(16 Reviews)

i can make this tool page for you .check your PMB.

£30 GBP in 1 day
(13 Reviews)

We can finish the job in less than 5 hours don't get by the low priced offer, low offers means low product quality.

£50 GBP in 0 days
(0 Reviews)

Custom software development: w w w . The Administrator removed this message for containing contact details which breaches our Terms of Service . i o

£30 GBP in 1 day
(0 Reviews)