note 23241 added to control-structures.for

From: Date: Fri, 12 Jul 2002 13:20:48 +0000
Subject: note 23241 added to control-structures.for
Groups: php.notes 
Request: Send a blank email to php-notes+get-32960@lists.php.net to get a copy of this message
In reply to the note on: 24-Jun-2002 07:59 It's not strange that there's no error message. The for loop will execute as long as $i == $ilosc. When you start that probably isn't the case, so the for loop doesn't execute at all. There's no need for an error message, since everything is correct. When you initialize $ilosc with 1, the for loop will execute 1 time. -- http://www.php.net/manual/en/control-structures.for.php http://master.php.net/manage/user-notes.php?action=edit+23241 http://master.php.net/manage/user-notes.php?action=delete+23241 http://master.php.net/manage/user-notes.php?action=reject+23241

« previous php.notes (#32960) next »