RE: [PHP] Re: Processing Form Data /w $_POST
| From: | Dan Joseph | Date: | Thu, 19 Jun 2003 17:12:18 +0000 |
| Subject: | RE: [PHP] Re: Processing Form Data /w $_POST | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-152188@lists.php.net to get a copy of this message | ||
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