just pico a file called myforms.csv or something.
use the first line for you schema...
"name","date","comments","etc"

chmod the file to rw permissions or chown to nobody.

$file = fopen("/home/myaccnt/public_html/protected/myforms.csv", "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: Thursday, November 29, 2001 5:34 PM
Subject: [PHP] Sending Form Result to File


> 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 the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to