"w");
fputs($file,
"\n\"$form_name\",\"$form_date\",\"$form_comments\",\$form_etc\"");
fclose($file);
- Original Message -
From: "Ben Clumeck" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent:
caveats ...
it just assumes you'll figure out the output from the form data --
filenames will be random .txt files written to the /tmp directory (which
avoids all kinds of permission problems I'd otherwise need to discuss).
uses the "|" (pipe) character instead of commas so you can have comma
I am looking for a script to send my form results to a .txt file in CSV (to
import into Excel) format. Does anyone have a simple code?
Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
3 matches
Mail list logo