RE: [PHP] fgetcsv
| From: | Jason Murray | Date: | Mon, 14 May 2001 04:26:43 +0000 |
| Subject: | RE: [PHP] fgetcsv | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-52650@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)
How about fputs($filehandle, implode(",", $array)) ...? :)
(I haven't used fgetcsv, sorry)
J