note 60148 deleted from control-structures.for by danbrown

From: Date: Mon, 07 Dec 2009 16:05:04 +0000
Subject: note 60148 deleted from control-structures.for by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-163650@lists.php.net to get a copy of this message
Note Submitter: FatalError ---- You can also use a "while" loop to get the same results as a "for" statement. These two examples are basically the same thing: <?php for ($a = 0; $a < $somevar; $a++) { /* Do something... */ } ?> <?php $a = 0; while ($a < $somevar) { /* Do something... */ $a++ } ?>

« previous php.notes (#163650) next »