Go to the source code of this file.
Functions | |
main () | |
This function checks if form was submitted. |
It also re-displays form for entering two number when it displays sum so that adding next two numbers is very convinient.
Definition in file add3.php.
main | ( | ) |
This function checks if form was submitted.
If form was submitted it ensures that both num1 and num2 were submitted. It adds values of both num1 and num2 and then displays form again with message that includes sum of given two numbers.
Definition at line 22 of file add3.php.
References check_and_get(), and display_add_form().