logo       

Re: Help ! For Loop not working: msg#03570

php.general

Subject: Re: Help ! For Loop not working

Sorry, got it, I am not doing $ii

Sorry again
Manisha

At 10:33 AM 5/24/02 +0800, Manisha wrote:
$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>
Google Custom Search

News | FAQ | advertise