note 22594 deleted from control-structures.for by spic

From: Date: Wed, 28 Aug 2002 08:37:05 +0000
Subject: note 22594 deleted from control-structures.for by spic
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-35872@lists.php.net to get a copy of this message
Note that if you have an "==" string in the middle var(s) you will have an black window - nothing will happend - not even error msg. Example: for ($i = 1; $i == $ilosc; $i++) { print $i; print '<br>'; } Will crash, but: for ($i = 1; $i <= $ilosc; $i++) { print $i; print '<br>'; } Will do it ok.

« previous php.notes (#35872) next »