Rod wrote:I dont think you need the double quotes around BG.
Quotes are necessary, this is a string literal (unless there is a BG variable somewhere).
But the quotes as pasted above are wrong, these are not straight double-quotes (
"") but opening/closing double quotes (
“”).
Do not use a word processor to write code because it tries to be clever when it shouldn't, use a real programmer's editor (Notepadd++ or else) (which will also do real-time syntax highlighting, help with indentation, etc...