Date: 12/15/00
- Next message: waldschrott <email protected>: "[PHP-DEV] PHP 4.0 Bug #8281 Updated: still problem with for()"
- Previous message: vader82 <email protected>: "[PHP-DEV] PHP 4.0 Bug #8281: still problem with for()"
- Next in thread: waldschrott <email protected>: "[PHP-DEV] PHP 4.0 Bug #8281 Updated: still problem with for()"
- Maybe reply: waldschrott <email protected>: "[PHP-DEV] PHP 4.0 Bug #8281 Updated: still problem with for()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 8281
Updated by: derick
Reported By: vader82 <email protected>
Old-Status: Open
Status: Closed
Bug Type: *General Issues
Assigned To:
Comments:
You forgot the $ before i++
Closed
Previous Comments:
---------------------------------------------------------------------------
[2000-12-15 13:25:22] vader82 <email protected>
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
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: waldschrott <email protected>: "[PHP-DEV] PHP 4.0 Bug #8281 Updated: still problem with for()"
- Previous message: vader82 <email protected>: "[PHP-DEV] PHP 4.0 Bug #8281: still problem with for()"
- Next in thread: waldschrott <email protected>: "[PHP-DEV] PHP 4.0 Bug #8281 Updated: still problem with for()"
- Maybe reply: waldschrott <email protected>: "[PHP-DEV] PHP 4.0 Bug #8281 Updated: still problem with for()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

