Yes that's right. this was just from the top of my head and it's early for me.
it should be $report .= "key:".$index." => ".$value."\n"; as Dan has pointed out. "Dan Joseph" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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