Is it possible to create a CSV file in the browser so that when someone clicks on a link to get the file (a PHP page pulling from a MySQL database), the file will be sent as a plain comma delimited text file with a .CSV extension instead of a .PHP extension?
Creating the comma separated file is no problem. I would just like to know how to make the server send it with a .CSV extension so that it can be saved instantly on my users' computer for use later in MS Excel.
Creating the comma separated file is no problem. I would just like to know how to make the server send it with a .CSV extension so that it can be saved instantly on my users' computer for use later in MS Excel.