Wednesday, 15 April 2015

How to write a function in PHP 5

A function is a block of statements that can be used repeatedly in a program.

A function will not execute immediately when a page loads.
A function will be executed by a call to the function.

Syntax

function functionName() {
    code to be executed;
}

Please watch below video


0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home