Removing an item from an array in PHP

Removing an item from an array in PHP can be done by using unset function. This function accepts which array’s element needs to be removed.

If instead of array’s element an entire array is passed to this function then the entire array will be deleted and will no longer be accessible.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator