View Single Post
  #5 (permalink)  
Old Apr 30th, 2007, 12:20
vandiermen vandiermen is offline
Junior Member
Join Date: Aug 2006
Location: south australia
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Form2Email build message with html, I need help

I looked for a tutorial or script that would give me the code for how to add html to be sent from a for but did not find any

Yeah this is my issue at the moment
I don’t want to bother anyone, I have successfully modified all kinds of scripts with out asking any question, and this is only the second question I have asked relating to PHP, I thought it would be a simple bit of code to get this sorted but it dose not look like it,

Anyway when I use
$headers .= "Content-type: text/html\n";

I get this error;
Parse error: syntax error, unexpected T_NEW in /home/seehereo/public_html/poetryaustralia/tellafriend/FormToEmail.php on line 203

Line 203: $subject = "test form";
Line 204:
Line 205: $headers = "From: " . $form_input['email'] . "\n" . "Return-Path: " . $form_input['email'] . "\n" . "Reply-To: " . $form_input['email'] . "\n";


__________________________________________________ _____
Reply With Quote