I am currently exporting MySQL queries to excel via PHP, which is simple enough. However, I cannot seem to find out how to export the same data to QuickBooks.
Here is the code I use to export to Excel...It pops up a window and open excel and displays the data, I would like to do the same thing with quickbooks if possible.
header("Content-type: application/x-msdownload");
header("Content-Disposition: attachment; filename=$fileName");
header("Pragma: no-cache");
header("Expires: 0");
print "$header\n$data";
Thanks!