note 17973 added to control-structures.do.while

From: Date: Sat, 05 Jan 2002 17:09:49 +0000
Subject: note 17973 added to control-structures.do.while
Groups: php.notes 
Request: Send a blank email to php-notes+get-24431@lists.php.net to get a copy of this message
A do..while loop ALWAYS gets executed at least ONE time, since the truth statement is in the end of the loop. A while loop differs from this, since the truth statement is in the beginning it may never get executed if it's false. -- http://www.php.net/manual/en/control-structures.do.while.php http://master.php.net/manage/user-notes.php?action=edit+17973 http://master.php.net/manage/user-notes.php?action=delete+17973 http://master.php.net/manage/user-notes.php?action=reject+17973

« previous php.notes (#24431) next »