Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
List skills for Jamie
<?php if($skills): ?>
<h5>Skill<?php if( count($skills) > 1 ) { echo 's'; } ?></h5>
<ul>
<?php
foreach($skills as $skill) {
echo '<li>' . $skill->name . '</li>';
}
?>
</ul>
<?php endif; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment