$subject = "Message From MCV Contact Form" you have missed out a ; on the above line
use your eyes...:-) John ----- Original Message ----- From: "Chase Knott" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 02, 2002 4:18 PM Subject: [PHP] Newbie "Parse" error > I am sure that someone here can see somehting that I am too stupid to... > Here is my error: > > Parse error: parse error, unexpected T_VARIABLE in send_contact_form.php > on line 13 > > Here is the code for the page: > > <? > > $msg = "E-Mail From MCV Contact Form\n"; > $msg .= "Sender's Name: \t$sender.name\n"; > $msg .= "Sender's E-Mail Address: \t$sender.email\n"; > $msg .= "Sender's Subject: \t$sender.subject\n"; > $msg .- "Sender's Message: \t$sender.message\n\n"; > > $to = "\t$recipient"; > > $subject = "Message From MCV Contact Form" > > $mailheaders = "From MyComputerVendor\n"; > $mailheaders .= "Reply-To: $sender.email\n\n"; > > mail($to, $subject, $msg, $mailheaders); > > <html> > <head> > <title>Message Sent!</title> > </head> > > <body> > <p>The Following Message Was Sent To: <? echo "$recipient"; ?></p> > <p>Name:<br> > <? echo "$sender.name"; ?></p> > <p>E-Mail Address:<br> > <? echo "$sender.email"; ?></p> > <p>Subject:<br> > <? echo "$sender.subject"; ?></p> > <p>Message:<br> > <? echo "?sender.message"; ?></p> > > </body> > </html> > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php