I'm trying to print this array and he's getting some error. I need a different pair of eyes to see what's wrong with this!
<?php foreach($articles as $article) { ?>
<div>
<div class="parent-info">
<div class="parent-info-header">
<?php echo "<h2>" . $article->title . "</h2>"; ?>
</div>
<?php echo "<p class=\"parent-info-text\">" . $article->body . "</p>" ; ?>
</div>
</div>
} ?>