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
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
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
3 matches
Mail list logo