Fields printing twice
| From: | Brian V Bonini | Date: | Mon, 12 May 2003 14:25:52 +0000 |
| Subject: | Fields printing twice | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-147304@lists.php.net to get a copy of this message | ||
Why does this print each DB field twice?
$line_break = "\r\n";
while ($row = mysql_fetch_array($result)) {
if ($csv) {
$semi_separated = implode(";", $row);
print $semi_separated . $line_break . "<br>";
}