Assigning array element values to variables

It is possible to assign array values to variables. In order to do so variables need to be placed in square brackets. Later versions of PHP used array() function to indicate that values inside that function are part of the array. It is possible to create both indexed and associative array using this method.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator