PHP: How to insert value into array

[notice]As this is one of the most hit articles on the site, I’ve decided to update and build on it, it is now targeted at PHP 5.0+.[/notice] There are two ‘main’ forms of arrays within PHP, these are numerical (or zero based) and associative arrays. Creating a new array The code below demonstrates creating a […]