A function will be executed by a call to the function. You may call a function from anywhere within a page.
Create a PHP Function
A function will be executed by a call to the
function.
Syntax
|
function
functionName()
{ code to be executed; } |
- Give the function a name that reflects what the
function does
- The function name can start with a letter or underscore (not a number)