php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #25229 fputcsv
Submitted: 2003-08-24 20:04 UTC Modified: 2005-11-25 16:50 UTC
From: curt at zirzow dot dyndns dot org Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 5.0.0b1 (beta1) OS:
Private report: No CVE-ID: None
 [2003-08-24 20:04 UTC] curt at zirzow dot dyndns dot org
Description:
------------
might be nice to have a function that handles csv put data too, somthing like:

int fputcsv (resource handle, array data [, string delimiter [, string enclosure]])

That way if a person want to export data from a database to a csv file, it can easily be done using fputcsv instead of writing their own function that escapes the properly escaped data.




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-25 16:50 UTC] dufuz@php.net
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at 
http://www.php.net/downloads.php

This function as added to PHP 5.1.0RC1
See: http://php.net/fputcsv
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 19:01:30 2024 UTC