[thelist] writing to a file PHP (csv)

Andrew Maynes andrew at humanbehaviour.co.uk
Mon Dec 16 15:09:01 CST 2002

Hi All

I have a little bit of code that writes info to a file and wondered if someone
could just point me in the direction for outputting the data to the said file in
csv format so it's ready to import inot sage line 50 I believe.  This is what I
have so far.  However it isn't putting the data in csv format (tab)?

		$fp = fopen($FileName, "a+");
		fputs($fp, "$cc,\n");

Thank you

More information about the thelist mailing list