> while( $temp = mysql_fetch_row($mysql_result_handle) ) {
>       $array[] = array(
>               'key0' => array(
>                       'keya' => $temp[0],
>                       'keyb' => $temp[1]
>               ),
>               'key1' => array(
>                       'keya' => $temp[2],
>                       'keyb' => $temp[3]
>               )
>       );
> }

I corrected this error myself but that's not work.

Why that twice ? (only the key change)

'key0' => array(
                        'keya' => $temp[0],
                        'keyb' => $temp[1]
                ),

when I do echo($array[0][1]) I receive array unknown.

Bye


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

Reply via email to