我希望将数组结果放在纯文本区域,每个结果用" ,"。
PHP代码:
$nbrs = json_decode(fBGetDataStore('neighbors'), true);
<?= count($nbrs) ?>
(计算$nbrs
)print_r($nbrs)
(获取FBID $nbrs
)结果:
FBID of Your available Nbrz: Array
(
[242] => 100001358797416,
[243] => 100000859795350,
[244] => 100000843343992,
[247] => 100000257661280,
[248] => 100000351371568,
[249] => 1349056951,
[251] => 100000805381194,
)
1
这是我想要的结果:
FBID of Your available Nbrz:
100000348365067,100005373581538