[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: Message Sent! The Following Message Was Sent To: Name: E-Mail Address: Subject: Message: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Newbie "Parse" error
Thank you... I knew it was something stupid, but I was too close to see it... Thank you!! Erwin wrote: >>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 >> >>$subject = "Message From MCV Contact Form" >> > > Forgot a ";"? > > HTH Erwin > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Newbie "Parse" error
Maybe you can help me with YOUR eyes again... Now I am getting this error... Parse error: parse error, unexpected '<' in send_contact_form.php on line 18 This will be around the "" line... John Wards wrote: > $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); >> >> >> >>Message Sent! >> >> >> >>The Following Message Was Sent To: >>Name: >> >>E-Mail Address: >> >>Subject: >> >>Message: >> >> >> >> >> >> >>-- >>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
Re: [PHP] Newbie "Parse" error
I thank you... I love these newsgroups, but I tend to feel REALLY stupid when the answer comes... Thanks again! Chase [EMAIL PROTECTED] wrote: > You have forgotten a ?> before your HTML starts. > > / Martin > > Citat Chase Knott <[EMAIL PROTECTED]>: > > >>Maybe you can help me with YOUR eyes again... Now I am getting this >>error... >> >>Parse error: parse error, unexpected '<' in send_contact_form.php on >>line 18 >> >>This will be around the "" line... >> >> >>John Wards wrote: >> >> >>>$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); >>>> >>>> >>>> >>>>Message Sent! >>>> >>>> >>>> >>>>The Following Message Was Sent To: >>>>Name: >>>> >>>>E-Mail Address: >>>> >>>>Subject: >>>> >>>>Message: >>>> >>>> >>>> >>>> >>>> >>>> >>>>-- >>>>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 >> >> >> > > > > mvh > > Martin Hjort Eriksen > Studenterrådet, Roskilde Universitetscenter > - Slut på videresendt brev - > > > > mvh > > Martin Hjort Eriksen > Studenterrådet, Roskilde Universitetscenter > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php