Announcement

Collapse
No announcement yet.

Form is frustrating me

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Andy128
    replied
    Re: Form is frustrating me

    Well congrats!!

    Didn't see that you had sorted it out yourself. Glad all is well.

    Get some sleep.

    Andy

    Leave a comment:


  • Andy128
    replied
    Re: Form is frustrating me

    Problem is you deleted the " ".

    Try- "softwareeditorial@googlemail.com";

    Cheers,

    Andy

    Leave a comment:


  • cmwatts67
    replied
    Re: Form is frustrating me

    Sorted it out,

    Im feeling a bit tired my wife has just has a baby girl.

    Leave a comment:


  • cmwatts67
    started a topic Form is frustrating me

    Form is frustrating me

    Could some one tell me what is wrong with my contact us form ?

    Parse error: syntax error, unexpected '@' in /home2/chrisvw/public_html/contact_us.php on line 3



    <?PHP
    $email = $HTTP_POST_VARS[email];
    $mailto = softwareeditorial@googlemail.com;
    $mailsubj = "Software Enquiry";
    $mailhead = "From: $email\n";
    reset ($HTTP_POST_VARS);
    $mailbody = "Values submitted from web site form: or whatever else you want \n";
    while (list ($key, $val) = each ($HTTP_POST_VARS))
    {
    $mailbody .= "$key : $val\n";
    }
    mail($mailto, $mailsubj, $mailbody, $mailhead);
    header("Location:http://www.softwareeditorial.com/contact_us.php");
Working...
X