Re: Undefined index a different problem
| From: | Marek Kilimajer | Date: | Tue, 07 Jan 2003 15:54:01 +0000 |
| Subject: | Re: Undefined index a different problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-130598@lists.php.net to get a copy of this message | ||
Mekrand wrote:
my problem is, i have a script that works well before php 4.2.3 its sth like that {.. for($i=0; $i<count($line); $i++); // loop line numbers ... } //2nd part { echo ("$i"); } now i changed second part as; echo("$GLOBALS[i]"); should not beecho("$GLOBALS[$i]");
and it gives me notice that undefined index i. how can i solve this problem? thanks