Tell the web client to view the CSV file in a seprate program : CSV File « File Directory « PHP






Tell the web client to view the CSV file in a seprate program

 
header('Content-Disposition: attachment; filename="dishes.csv"');
  
  








Related examples in the same category

1.Generating comma-separated data
2.Making a CSV-formatted string
3.Parsing CSV Strings
4.Read csv file
5.Reading CSV data from a file
6.fgetcsv.php
7.Printing comma-separated data
8.Putting comma-separated data into a string