Skip to content

PHP 05: Functions

    Rule #1. A function must return a value.

    Rule #2. You must create the fuction before you CALL the function.

    Rule #3. You must make a place to store the “returned” information to return to.

    [code]$storedVariable = function_name($variable1Passed, $variable2Passed);[/code]