PHP PHP Arrays and Control Structures PHP Loops Do While Looping

Sharlene Walton
Sharlene Walton
190 Points

While Loop. When I look at my while loop the starting year (100)years ago ie 1921 shows down the bottom of the screen.

This is how it looks: 1922 1923 1924 1925...

2020

1921

1 Answer

Peter Vann
MOD
Peter Vann
Treehouse Moderator 31,439 Points

Hi Sharlene!

Are you including the <br /> to each line/iteration?

That's essential to have it display vertically.

I'm not sure that's your issue, but I hope it points you in the right direction.

Again, I hope that helps.

Stay safe and happy coding!