Display just one post from a loop of 5 posts?

Solved the problem by inserting this:

<?php if (in_array($counter, array(0)) ) :?>
// show content
<?php $counter++; endif;?>

The above basically displays only 1 post that is first in the array.

In case anyone needs to solve a problem like this.

tech