newbie question - error from Swift.php file?
Posted: Mon Nov 19, 2007 11:39 pm
I am getting the following error after trying my first email:
Parse error: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/lunches/public_html/swift/Swift.php on line 36
Line 36 in Swift.php is: "const VERSION = "3.3.2";"
I don't see anything particularly wrong with any of the code, but it doesn't like defining the constants. If I comment the first one out, I get the same error on the second one.
Anyone seen something similar? I'm sure this is something silly, but this is my first time using Swift.
Thanks in advance for any assistance.
Paul
Parse error: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/lunches/public_html/swift/Swift.php on line 36
Line 36 in Swift.php is: "const VERSION = "3.3.2";"
I don't see anything particularly wrong with any of the code, but it doesn't like defining the constants. If I comment the first one out, I get the same error on the second one.
Anyone seen something similar? I'm sure this is something silly, but this is my first time using Swift.
Thanks in advance for any assistance.
Paul