';
endif;
if (have_rows('match_results')):
// loop through the rows of data
while (have_rows('match_results')) : the_row();
// vars
$home_team = get_sub_field('home_team');
$home_score = get_sub_field('home_score');
$away_score = get_sub_field('away_score');
$away_team = get_sub_field('away_team');
// display a sub field value
?>
Garron Tower, St Killian’s College
Maghera, St Patrick’s College
Ballycastle, Cross & Passion College
23/10/17 TBC
Ballymena, St Louis Grammar School
endwhile;
else :
// no rows found
echo '';
echo '
Sorry no fixtures
';
endif;
if (have_rows('match_results')):
// loop through the rows of data
while (have_rows('match_results')) : the_row();
// vars
$home_team = get_sub_field('home_team');
$home_score = get_sub_field('home_score');
$away_score = get_sub_field('away_score');
$away_team = get_sub_field('away_team');
// display a sub field value
?>
Ballycastle, Cross & Passion College
Ballymena, St Louis Grammar School
McNamee Final
October 27, 2017
Garron Tower, St Killian’s College
5pm All Saints Ballymena
Ballymena, St Louis Grammar School
endwhile;
else :
// no rows found
echo '';
echo '
Sorry no fixtures
';
endif;
if (have_rows('match_results')):
// loop through the rows of data
while (have_rows('match_results')) : the_row();
// vars
$home_team = get_sub_field('home_team');
$home_score = get_sub_field('home_score');
$away_score = get_sub_field('away_score');
$away_team = get_sub_field('away_team');
// display a sub field value
?>