Hi,

>     $report = "key:".$index." => ".$value."\n";

        actually, shouldn't it be:

        $report .= "key:".$index." => ".$value."\n";

        If you don't have the . there, its going to keep overwriting the report,
and thus writing only the last $report item that was built.  .= would concat
'em all together.  Am I misunderstanding?

-Dan Joseph


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

Reply via email to