[PHP] Re: PHP Variable Declare

2003-01-22 Thread Stephen Goehler
Thanks guys for helping out. I got it working now! "Thomas Seifert" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > it won't work the way you are doing this. > > Try something like that line (changed from yours): > > fputs($fd, "From: ".$_POST['name']." <".$_P

[PHP] Re: PHP Variable Declare

2003-01-22 Thread Thomas Seifert
it won't work the way you are doing this. Try something like that line (changed from yours): fputs($fd, "From: ".$_POST['name']." <".$_POST['email'].">\n"); Don't ask arrays directly in a string. Thomas On Wed, 22 Jan 2003 11:15:35 -0500 [EMAIL PROTECTED] (Stephen Goehler) wrote: > Now it

[PHP] Re: PHP Variable Declare

2003-01-22 Thread Stephen Goehler
Now it gets more confusing.I added: print ''; print_r($_POST); print ''; to my form and the variables are displayed properly, but only generate errors when I try to add it to fputs().any ideas? "Stephen Goehler" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:

[PHP] Re: PHP Variable Declare

2003-01-22 Thread Stephen Goehler
Thanks!! That worked perfectly. Neat little function there to check if a variable exists. Also I am set to "E_ERROR & ~E_NOTICE" already. The form loads correctly and then when you click submit goes to the thank you screen. The only problem now is that it says that my variables don't exist tha

[PHP] Re: PHP Variable Declare

2003-01-22 Thread Thomas Seifert
try: if (isset($_POST['frmAction']) && $_POST['frmAction'] == "formmail") instead of your line. Thomas On Wed, 22 Jan 2003 09:47:46 -0500 [EMAIL PROTECTED] (Stephen Goehler) wrote: > Hey guys, > > Thanks in advance for your help. > > I'm working on emailing the contents of a form using php.