RE: [PHP] fgetcsv

From: Date: Mon, 14 May 2001 04:24:28 +0000
Subject: RE: [PHP] fgetcsv
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-52649@lists.php.net to get a copy of this message
Thanks - what I want to do is just say something like fputcsv($myarray) - and not have to worry about putting in the commas or whatever myself... will fputs do that? (In case it wasn't clear - I'm wanting to write back to the file, having already read from it using fgetcsv) swadie ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Steve Wade Youth Outreach Coordinator Fusion Australia Ltd (Sydney North) ABN 26 001 273 105 +61 2 9477 1110 -----Original Message----- From: Jason Murray [mailto:Jason.Murray@melbourneit.com.au] Sent: Monday, 14 May 2001 14:19 To: 'Steve Wade'; PHP News Subject: RE: [PHP] fgetcsv > Hi all - just wondering if anyone knows of a function like > fputcsv - that is, writes a line to a csv file - opposite of fgetcsv. A CSV file is just a text file with a different file extension, so you can use fgets to write it out... Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#52649) next »