Problem understanding do..while loops in PHP

view full story

http://www.linuxquestions.org – Hi, I just typed in this program from my PHP book: $variable=20 ; do { echo "The do...while loop says \$variable = ", $variable, "<br>" ; } while ($variable < 10) ; ... and it prints "The do...while loop says $variable = 20" ONLY ONCE. My question is, since do....while is a LOOP, the program should send the system into an infinite loop, right, since I'm not touching $variable inside the loop? Could someone please explain to me why it's not? Thanks. (HowTos)