Hello,

"-<[ Rene Brehmer ]>-" <[EMAIL PROTECTED]> wrote:

> I've run into something I don't understand...
> 
> This is my test code:
> 
>   $premieredag =
> array("2002-11-22","2002-11-29","2002-12-06","2002-12-18");
>   $d20021122 = array("001");
>   $d20021129 = array("002","003","004");
>   $d20021206 = array("005","006","007");
>   $d20021218 = array("008","009");
> 
>   for ($i = 0; $i < count($premieredag); $i++) {
>     echo("<td class=\"date\" width=\"15%\">");
>     echo date("j. F Y",strtotime($premieredag[$i]));
>     echo ("</td><td>&nbsp;</td>\n");
>     echo("</tr><tr>\n");
>     $pdag = "d".str_replace("-","",$premieredag[$i]);
>     for ($n = 0; $i < count($$pdag); $n++) {

It seems like $i would always be TRUE here, no?

Just guessing...

- E

...[snip]...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to