Assign array to multidimentional array
Poker_player:
Hello, I do not get what is wrong:
Assigning values to single dimention array works good. But when I want to assing array to array - getting
'rows' - invalid array access
How to assign array to multidimentional array?
Hello,
Il you have multidimensional array you must access with :
rows[0][0] = header[0]; // for example:
remcous:
Hello,
Il you have multidimensional array you must access with :
rows[0][0] = header[0]; // for example:
But that way it would be only one item added.
You mean I need to write loop for each item? In php I would simply assign array. I would expect same here.
But if there is only way to do loop, its better than nothing :) thanks.
Hello, I do not get what is wrong:
Assigning values to single dimention array works good. But when I want to assing array to array - getting
'rows' - invalid array access
How to assign array to multidimentional array?