Export MYSQL data to CSV using PHP