i use duplicate group, and I have an image in each group. What can i
display each photo ?
i used this code :
$team = get_group(‘team’);
foreach($team as $member){
echo $member['namemember'][1];
echo “”;
echo $member['photomember'][1];
echo “”;
}
for the name it’s ok, but the photo is always the same for each
member…
could you help me ?
the content of pr($team) is
Array
(
[1] => Array
(
[photo] => Array
(
[1] => Array
(
[o] =>
http://toto.com/wp-content/files_mf/1285786830Tree.jpg
)
)
[nom] => Array
(
[1] => sergio
)
)
[2] => Array
(
[photo] => Array
(
[1] => Array
(
[o] =>
http://toto.com/wp-content/files_mf/1285787116TocoToucan.jpg
)
)
[nom] => Array
(
[1] => tobi
)
)
)
what is the code to display each images of each duplicate group