I have a export to excel page, and it's working fine.
The only problem I have, is that one of the field's data is varchar, with long text in it.
When the user who enters data to the field type in a text box, and hit enter, it inserts some delimiter, which doesn't export with the rest of the field data.
Confused?
Is there a different way to set the MySQL download parameters?
<?
header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=myfile.xls");
header("Pragma: no-cache");
header("Expires: 0");
?>