Hello Manuel,

Sunday, February 22, 2004, 5:47:02 AM, you wrote:

MVA> As far as I know, there is no such a function. Maybe you should use a
MVA> different approach.
MVA> Manu.

MVA> "Joe-At" <[EMAIL PROTECTED]> wrote in message
MVA> news:[EMAIL PROTECTED]
>> Hallo,
>> 1) I want to work with the rows und columns of a tow dimensional
>> array[i][j]. With array[i] I get the i'th row. But how can I get the j'th
>> column?
>> 2) Is there any command to transpose a two dimensional array?
>> Thanks for help


1. $array_j = $array[$i] ;
   count($array_j) ;

2.
foreach($array as $sub_array){
   foreach($subarray as $key=>$value)
                     echo $key.'=='.$value ;
}


cmiiw

-- 
Best regards,
 adwinwijaya                            mailto:[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to