Php function

From thelinuxwiki
Jump to: navigation, search

Example:

function functionName()
{
code to be executed;
}

Calling the function

functionName();

Passing function parameters