Possible Duplicate:
array_splice() for associative arrays
I have an associative array with products data.
Array
(
[0] => Array
(
[ID] => 1
[Name] => Game 1
[Price] => 19.95
[Status] => active
)
[1] => Array etc..
)
How can I add a key to any location in the array and not just the beginning or the end? Eg. between intID and strName, or at the/beginning, or before enumStatus?