PHP 4.0 Bug #8281 Updated: still problem with for()

From: Date: Fri, 15 Dec 2000 19:07:26 +0000
Subject: PHP 4.0 Bug #8281 Updated: still problem with for()
Groups: php.dev 
Request: Send a blank email to php-dev+get-41509@lists.php.net to get a copy of this message
ID: 8281 Updated by: waldschrott Reported By: vader82@aol.com Old-Status: Closed Status: Bogus Bug Type: *General Issues Assigned To: Comments: please do not report "parse errors" in this bug db as they are usally caused by the programmer Previous Comments: --------------------------------------------------------------------------- [2000-12-15 13:34:42] derick@php.net You forgot the $ before i++ Closed --------------------------------------------------------------------------- [2000-12-15 13:25:22] vader82@aol.com i submitted an earlier "bug report" where i messed some syntax up, but i fixed that with the advice of the reply and this script still wont work. i get a page saying parse error and it has no indication of what it is. thanks for help according to manual for(exp1; exp2; exp3) {statement} should work but this script does not <?php $num_fields = 3; parse error--> for ( $i = 0; $i < $num_fields; i++){ echo "It works" ; } ; ?> --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8281

« previous php.dev (#41509) next »