``` function squareValue($number) { echo $number * $number; } $n = 6; squareValue($n); // echos 36 ``` ``` The function `squareValue`, above, takes one parameter, which it multiplies by itself and then echos the result. The names of the parameters themselves are used internally within the function, so they should be named something helpful. You can also use multiple parameters as long as they are separated by commas.
校長室 教務處學務處總務處輔導室家長會媒體報導 北小臉書北小附幼臉書課程計畫平台