Go to the source code of this file.
Functions | |
main () | |
This function uses check_and_get() function to obtain values of num1 and num2 after ensuring that they were indeed supplied. |
It adds those two numbers and displays sum. It also prints error message if one of num1 or num2 is not supplied as GET variable.
Definition in file add.php.
main | ( | ) |
This function uses check_and_get() function to obtain values of num1 and num2 after ensuring that they were indeed supplied.
Then this function adds those two numbers and displays sum on screen.
Definition at line 24 of file add.php.
References check_and_get().