I have a dynamic number of items in which I'll need to divide into 3 columns. Let's say I'm given this:
array("one", "InfoOne", "LibOne",
"two", "InfoTwo", "LibTwo",
"three", "InfoThree", "LibThree")
I need to generate array like this:
array(
[0] = array("one", "InfoOne", "LibOne"),
[1] = array("two", "InfoTwo", "LibTwo"),
[2] = array("three", "InfoThre", "LibThree")
)
How could I do to put in an array, data with 3 equal columns?