PHP 4.0 Bug #8178 Updated: For loop bug

From: Date: Fri, 08 Dec 2000 20:54:19 +0000
Subject: PHP 4.0 Bug #8178 Updated: For loop bug
Groups: php.dev 
Request: Send a blank email to php-dev+get-40605@lists.php.net to get a copy of this message
ID: 8178 Updated by: jmoore Reported By: mgrigajtis@rosasonline.com Old-Status: Bogus Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: This is not a support area please read the bugs dos and donts before posting again. James Previous Comments: --------------------------------------------------------------------------- [2000-12-08 15:54:14] jason@php.net 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 --------------------------------------------------------------------------- [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

« previous php.dev (#40605) next »