PHP lessons

Hidden inputs

Average of a sequence of numbers

This program accepts numbers (one at a time) and calculates every time the average of the inserted numbers.
It uses some hidden input that the user can't see.

Test the program and then examine its code.

Type in the first number

Here is the code of the program.

Valid HTML 4.01 Transitional