Sample PHP code that will pull a MySQL table into an Excel-friendly downloadable format, using a CSV or Excel MIME type.