thanks but this time it gives 2 error, undefined variable i, undefined index i for $GLOBALS[$i] "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > 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 be > > echo("$GLOBALS[$i]"); > > > > > >and it gives me notice that undefined index i. > >how can i solve this problem? > >thanks > > > > > > > > > > > > >
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php