![]() |
|
| |||||||
| Notices |
| Forms Discussion and help related to designing and implementing forms in the BlueVoda Website Builder. |
![]() |
| | LinkBack | Thread Tools |
|
#1
| ||||
| ||||
|
Could some one tell me what is wrong with my contact us form ? Parse error: syntax error, unexpected '@' in /home2/chrisvw/public_html/contact_us.php on line 3 <?PHP $email = $HTTP_POST_VARS[email]; $mailto = softwareeditorial@googlemail.com; $mailsubj = "Software Enquiry"; $mailhead = "From: $email\n"; reset ($HTTP_POST_VARS); $mailbody = "Values submitted from web site form: or whatever else you want \n"; while (list ($key, $val) = each ($HTTP_POST_VARS)) { $mailbody .= "$key : $val\n"; } mail($mailto, $mailsubj, $mailbody, $mailhead); header("Location:http://www.softwareeditorial.com/contact_us.php"); |
|
#3
| ||||
| ||||
|
Problem is you deleted the " ". Try- "softwareeditorial@googlemail.com"; Cheers, Andy
__________________ My diamond in the rough - www.123gpp.com * Click here for some BV tutorials (Php mailto Form, I-Frames, Picture display and much, much more!) |
|
#4
| ||||
| ||||
|
Well congrats!! Didn't see that you had sorted it out yourself. Glad all is well. Get some sleep. Andy
__________________ My diamond in the rough - www.123gpp.com * Click here for some BV tutorials (Php mailto Form, I-Frames, Picture display and much, much more!) |