Re: Re: Processing Form Data /w $_POST

From: Date: Thu, 19 Jun 2003 17:14:39 +0000
Subject: Re: Re: Processing Form Data /w $_POST
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-152191@lists.php.net to get a copy of this message
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" <djoseph@duhq.us> wrote in message news:GHEOLLAIKHCPIJMHLDCGCEOCCHAA.djoseph@duhq.us... > 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 >

« previous php.general (#152191) next »