Save mysql query to excel file from php webpage

NerAnnodsdole

New Member
I have a table within a mysql database. What i want to do, is in a php page, run a select statement and output the result into an excel file. I've seen quite a few tutorials out there and tried them, however these output the contents of the webpage into the excel file. I just want the mysql table data and headers. Is there a way to do this?
 
Back
Top