Declaring a PHP array

It is possible to declare a PHP array by two ways. First one is to include PHP array elements in square brackets, second one is to include array elements in the array() keyword.

Square brackets is being an older style of declaring a PHP array.

YouTube video

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator