Re: [PHP] arrays question

2005-11-12 Thread Brian V Bonini
On Fri, 2005-11-11 at 15:25, cybermalandro cybermalandro wrote: > I have this that looks like this > > array(3) { > [0]=> > array(2) { > [0]=> > string(1) "1" > [1]=> > string(1) "2" > } > [1]=> > array(2) { > [0]=> > string(3) "492" > [1]=> > string(3) "2

Re: [PHP] arrays question

2005-11-11 Thread Brent Baisley
Here's a few loops that should work. You can actually just use the first loop to concatenate text string instead create array items, but I wasn't sure what type of processing you wanted to do with the result. //Convert Array from 3 rows by 2 cols -> 2 rows by 3 cols for($i=0; $i Array

[PHP] arrays question

2005-11-11 Thread cybermalandro cybermalandro
I have this that looks like this array(3) { [0]=> array(2) { [0]=> string(1) "1" [1]=> string(1) "2" } [1]=> array(2) { [0]=> string(3) "492" [1]=> string(3) "211" } [2]=> array(2) { [0]=> string(2) "11" [1]=> string(2) "20" } } I