Export to CSV – PHP Simple php function to easily create and download a CSV file form an Array. Export to CSV - PHP