View Full Version : Mail to form

12-23-2005, 07:25 PM
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.


12-24-2005, 01:07 AM
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.


12-24-2005, 08:42 AM
Happy to Help ;)