私は次のような配列を持っています:
stdClass Object
(
[223] => Array
(
[0] => stdClass Object
(
[tribeName] => TTTT
[tribeid] => 31
[numusers] => 10
[dateCreated] => 2012-05-28 18:30:34
)
[1] => stdClass Object
(
[tribeName] => KKKKK
[tribeid] => 32
[numusers] => 11
[dateCreated] => 2012-05-28 18:32:12
)
[2] => stdClass Object
(
[tribeName] => RRRR
[tribeid] => 33
[numusers] => 5
[dateCreated] => 2012-05-28 18:53:17
)
[3] => stdClass Object
(
[tribeName] => mytehhhhhst2
[tribeid] => 34
[numusers] => 4
[dateCreated] => 2012-05-28 18:56:15
)
[4] => stdClass Object
(
[tribeName] => yog
[tribeid] => 58
[numusers] => 1
[dateCreated] => 2012-06-01 12:32:47
)
[5] => stdClass Object
(
[tribeName] => newFunc
[tribeid] => 63
[numusers] => 1
[dateCreated] => 2012-06-01 12:45:01
)
[6] => stdClass Object
(
[tribeName] => Jghj
[numusers] => 0
[tribeid] =>
)
)
)
ここで、223がキー値であり、毎回新しいものになります。key($ array)としてアクセスします。223の値を取得します。しかし、どうすればその値にアクセスできますか?たとえば、tribeName?plzは私を助けます。
ありがとう。