I'm successfully creating a csv file for my report and displaying it in html format with this code:
<?php
echo "<table>\n\n";
$f = fopen("report.csv", "r");
while (($line = fgetcsv($f)) !== false) {
echo "<tr>";
foreach ($line as $cell) {
echo "<td>" . htmlspecialchars($cell) . "</td>";
}
echo "</tr>\n";
}
fclose($f);
echo "\n</table></body></html>";
?>
The issue I'm running into is: 'returnMoneyInMicros'.
All my monetary data is displaying in microformats.
Do you think there is any way I can solve this by simply converting my csv file to html. Or do you think I'm going to need to pull the data into something like mysql and parse it there?
Thanks!