Mail to form

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Andy128
    Major General

    • Dec 2005
    • 2317

    Mail to form

    I know this has been beaten to death- but I am relatively in experienced and need some assistance.

    I have followed the instructions from post;


    I can guess that I have to have a form with
    E-mail [ box where user puts his/her email address]
    Free text [where user can put in comments etc...]
    Submit button

    So where it says:
    $emailbody="Values submitted from website form:\n"

    What do I put here?

    From my test run I got the following error;
    Parse error: parse error, unexpected T_CONCAT_EQUAL in /home/andy128/public_html/contact.php on line 16

    Help would be appreciated.

    Andy
    PHP- is a blast!
  • Andy128
    Major General

    • Dec 2005
    • 2317

    #2
    Re: Mail to form

    Never mind- I actually got it. The problem was that I had tried to hand copy the code and apparently messed it up with. I did a copy and paste and it has worked beautifully.

    Thanks again Blue Voda.

    Andy
    PHP- is a blast!

    Comment

    • VodaHost
      General & Forum Administrator

      • Mar 2005
      • 12356

      #3
      Re: Mail to form

      Happy to Help ;)

      VodaHost

      Your Website People!
      1-302-283-3777 North America / International
      02036089024 / United Kingdom
      291916438 / Australia

      ------------------------

      Top 3 Best Sellers

      Web Hosting - Unlimited disk space & bandwidth.

      Reseller Hosting - Start your own web hosting business.

      Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


      Comment

      Working...
      X