Re: [PHP] PHP error on form

2005-07-28 Thread -k.
--- Bruce Gilbert <[EMAIL PROTECTED]> wrote: > Hello, > > I am trying to get a form to work integrating html > with PHP. I see a couple problems... This line: > if ($POST['sender_email'] =="") { Should probably be: if ($_POST['sender_email'] =="") { Note the underscore in $_POST

RE: [PHP] PHP error on form

2005-07-28 Thread Mike Johnson
From: Bruce Gilbert [mailto:[EMAIL PROTECTED] > Hello, > > I am trying to get a form to work integrating html with PHP. > > the code I have is: > > $form_block = " > > Your Name:< /br> > > < /br> > > Message:< /br> > > > Form\"> > "; > > if ($_POST['op'] !="ds") { > // they need to see

RE: [PHP] PHP error on form

2005-07-28 Thread Jay Blanchard
[snip] and the error I get is: Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /hsphere/local/home/bruceg/inspired-evolution.com/Contact_Form_test.php on line 58 [/snip] I forgot to say that the code you sent does not include 58

RE: [PHP] PHP error on form

2005-07-28 Thread Jay Blanchard
[snip] Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /hsphere/local/home/bruceg/inspired-evolution.com/Contact_Form_test.php on line 58 [/snip] Send us the first 60 or so lines of the code and we'll see what we can see. I strong