I\'m having a bit of trouble exporting a csv file that is created from one of my mysql tables using php.
The code I\'m using prints the correct data, but I can\'t see ho
You should not put the link in the same file that generates the csv, as the link will not be in the csv itself!
Do something like:
Download CSV
and it should work