Hi @hube2 – I’ve solves the issue 😀 It was with the ACF itself and me derping 🙂 Thanks for your assistance. The code was right all along *blush*
This is the output @hube2
Array
(
[ID] => 4
[user_firstname] => Chris
[user_lastname] => Burchell
[nickname] => thrax
[user_nicename] => thrax
[display_name] => thrax
[user_email] => [email protected]
[user_url] =>
[user_registered] => 2018-01-02 04:18:15
[user_description] => Dad, Gamer, Podcaster, and founder of playtopia.com.au!
[user_avatar] => thrax
)
Thanks John, I can see the array but I’m having issues with the syntax to only display one value. I’ve got:
<?php $players = get_field('select_players');
foreach($players as $player) {
echo $player['nickname'];
} ?>
But I still get the same issue of only the 1st character of each value is echo’d:
CBtttt2D<
It’s not selecting the [‘nickname’] only, but it’s doing ‘something’ because without that it prints the whole array. I hope that makes sense.
Thanks John.. that didn’t quite have the desired effect.. it’s actually listed the first character from each ‘Player’ attribute on a new line as below.
C
B
t
t
t
t
2
D
<
Any ideas?
Thanks John, that’s very helpful 🙂 I’ll go down the CPT route and see where I get to from there.
Thanks a lot