Thanks a lot mate. As I told you, I'm really really new to this. Solved my problem. I owe you one...You need to use the back tick symbol (above the tab) instead of the single quote. ` instead of '.
Also note that that's not tons of errors, it's just two (well, one really). The first line shows you what line of code has the error, and the second tells you where exactly (line 1, position 12) and what kind of error it is. So you know there is a syntax error around the 12th character which turns out to be the ' character.