我从数据库数据中得到这个输出
我正在使用 codeigniter 3
Array
(
[0] => stdClass Object
(
[umeta_id] => 72
[user_id] => 4
[meta_key] => nickname
[meta_value] => John ALbert
)
[1] => stdClass Object
(
[umeta_id] => 73
[user_id] => 4
[meta_key] => first_name
[meta_value] => John
)
[2] => stdClass Object
(
[umeta_id] => 74
[user_id] => 4
[meta_key] => last_name
[meta_value] => Albert
)
)
但我可以得到这样的数据吗
Array
(
[nickname] => John ALbert
[first_name] => John
[last_name] => Albert
)
我想要这样如果有人帮助我我会很感激
MMTTMM