Jump to content

in an array that looks like this Array ( [0] => Array ( [user_friend_id] => 9 )


jonaofarc

Recommended Posts

in an array that looks like this Array ( [0] => Array ( [user_friend_id] => 9 ) [1] => Array ( [user_friend_id] => 12 )  how do I retrieve the user_friend_id so that I can

 

 

$friends = $this->mBoCatalog->friends($user,$this->mPageNo, $this->mrTotalPages);

print_r($friends);

 

foreach ($friends as $k => $value) {

echo $k;

 

}

 

right now $k = the array unique id and $value = nothing .... I would like value to output the user_friend_id only

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.