There's a semicolon missing at the end of the previous line.
In reply to Re: syntax error near print by moritz in thread syntax error near print by mariannapac