7/7 My Loop isn't working


#1

I'm having getting past this last lesson. Here is my code. What am I doing wrong?

<?php
        $loopCount = 1
        do { echo $loopCount
            $loopCount++ }
                while ($loopCount < 6 );
         echo "Done";
    ?>

#2

<?php
    $loopCount = 1;
    do {
        echo $loopCount;
        $loopCount++;
    } while ($loopCount < 6 );
    echo "Done";
 ?>

Like Java and JavaScript, PHP requires end of statement tokens, ;, and is very strict about it.