|
RE: Help ! For Loop not working: msg#03571php.general
Missing a dollar sign in your for() loop definition. See if you can find out where... ---John Holmes... > -----Original Message----- > From: Manisha [mailto:manisha@xxxxxxxxxx] > Sent: Thursday, May 23, 2002 10:34 PM > To: php-general@xxxxxxxxxxxxx > Subject: [PHP] Help ! For Loop not working > > $fcontents is an array with 3 elements. > But this for loop is not executing even once > > $ii=count($fcontents); > echo("$ii"); > for ($i = 0; $i < ii; $i++) { > print $i; > } > > $ii has value = 3, But I am not getting the value of $i. What is wrong > with > such a simple loop ? Please help > > Manisha > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Help ! For Loop not working, Manisha |
|---|---|
| Next by Date: | RE: Help ! For Loop not working, Peter |
| Previous by Thread: | Re: Help ! For Loop not working, Manisha |
| Next by Thread: | RE: Help ! For Loop not working, Peter |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |