This is the test code I am using
if( have_rows(‘label’) ):
while( have_rows(‘label’) ) : the_row();
$image = get_sub_field(‘test1’);
echo “<p>”.$image.”</p>”;
endwhile;
else :
echo “<p> R: “.get_field(‘logos’).”</p>”;
endif;
THis is the test code I am using
if( have_rows(‘label’) ):
while( have_rows(‘label’) ) : the_row();
$image = get_sub_field(‘test1’);
echo “<p>”.$image.”</p>”;
endwhile;
else :
echo “<p> R: “.get_field(‘logos’).”</p>”;
endif;