Copy link to clipboard
Copied
I am trying to create a contact form for a webpage in Dreamweaver and my php code displays an error message saying "syntax error, unexpected '@'". I have marked the line where the error is being detected in red. My code is below:
Can someone help with this?
Copy link to clipboard
Copied
[Discussion Locked as per Adobe Support Community Guidelines.]
Be respectful, be supportive.
Copy link to clipboard
Copied
I can cut a whole chapter from this thread by suggesting you use PHP Mailer instead of what you have now.
It hides your email from would-be spammers
By @Nancy OShea
Any php script does that, suggesting phpMailer hides it any better is a misleading 'selling point'.
Those that don't have a good understanding of php and how to stop spam and hacking attempts probably should use phpMailer BUT that requires a good understanding to deploy it..........hummmm.