PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
There's a couple of ways of doing that. First, and logically simplest, would be to break the array into a set of arrays, add the new elements, and then merge them back into being a big array..
Alternatively, you'll end up playing with array_splice() to add new elements. Tricky.
I'd break it up and then rebuild it personally .. unless it's massive.