PHP 4.0 Bug #8178 Updated: For loop bug
| From: | jason@php.net | Date: | Fri, 08 Dec 2000 20:54:14 +0000 |
| Subject: | PHP 4.0 Bug #8178 Updated: For loop bug | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-40604@lists.php.net to get a copy of this message | ||
ID: 8178
Updated by: jason
Reported By: mgrigajtis@rosasonline.com
Old-Status: Open
Status: Bogus
Bug Type: Scripting Engine problem
Assigned To:
Comments:
This is not a bug
for ($i=0; $i<$column_count; $i++)
{
print "$HTTP_POST_VARS[check$i];
}
bad syntax
use
for ($i=0; $i<$column_count; $i++)
{
print $HTTP_POST_VARS[ "check" . $i ];
}
please submit all programming questions to php-general@lists.php.net and not the bug list.
-Jason
Previous Comments:
---------------------------------------------------------------------------
[2000-12-08 15:49:32] mgrigajtis@rosasonline.com
It won't let me do this:
for ($i=0; $i<$column_count; $i++)
{
print "$HTTP_POST_VARS[check$i];
}
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8178