You stated that you didn't want to print the first line. Notice the variable $i is initialized to 0. That if clause checks if the variable $i is equal to 0. Since we initialized it to 0, it enters the clause. The first line increases the variable $i to 1. Then it tells the while loop to skip to the next iteration. Now when you come to the clause this time, it skips it and continues to the rest of the while code because variable $i now equals 1.
By the way, glad you're asking questions. The more you ask now, the less you'll ask in the long run.