When I write a file using the following code:
while ($record_set_array = mysql_fetch_array($result_set, MYSQL_BOTH)) {
fwrite($fp, implode(",", $record_set_array) . "\n");
}
I get the following in my file:
2004-12-03,2004-12-03,22 days 'til Christmas!,22 days 'til Christmas!,BRENT,BRENT,Red,Red
Notice that every row from each column is recorded twice... anyone see why?
Thanks.
vs