Ok, I know this has been asked a number of times but I could not find a solution.

```
<?php echo '<span class="teamname">' . the_field('team_1') . '</span>'; ?>

```

The class does not work and the field does not display inside the span.

Can someone help?