私の前の質問を参照してください: PRADO の TDropDownList の値を表示します。クエリから受け取った配列は、次のようなオブジェクト配列です。
ContactRecord Object ( [id] => 1 [name] => leo [_recordState:protected] => 1 [_connection:protected] => [_invalidFinderResult:protected] => [_e:TComponent:private] => Array ( ) )
ContactRecord Object ( [id] => 2 [name] => ganda [_recordState:protected] => 1 [_connection:protected] => [_invalidFinderResult:protected] => [_e:TComponent:private] => Array ( ) )
次のような配列に変換すると:
Array ( [key 1] => leo [key 2] => ganda )
次に、値を TDropDownList に入力できます。
今、私が必要とする配列構造を変換するのを手伝ってくれる人はいますか...?
再びありがとう