php mailer parse error
问题 I have a site that is hosted on inmotion hosting and requires a phpMailer in order to send an email form (such as a contact form) from a site. I've put the necessary files and code on the contact page, but I am getting a parse error once I hit submit. Here's the error message: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/username/public_html/phpmailer/class.phpmailer.php on line 53 Line 53 according to DreamWeaver is public