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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: curt at zirzow dot dyndns dot org
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 27 15:00:02 2025 UTC