Combining arrays with incremental key
I have the following structure:
products = array[2] {
[0] = array[12] = stdclass[108],
[1] = array[18] = stdclass[108],
}
There is one array contain two arrays, each array containing a stdclass
object. I want to combine these to arrays in order to achieve this:
products = array[2]{
0 => stdclass[108],
1 => stdclass[108],
.....
31 => stdclass[108]
}
No comments:
Post a Comment