I get a "Parse error: parse error, unexpected $ in ..." on the last line of the script. Any idea how to find what or where the error is?
search for dollar signs?
likely some variable somewhere was not written properly and so confused the parser such that it gave the last line as the problem.
Also may be a brace that hasn't been closed. Make sure all your braces are matched. Gook Luck Rob
You were right. it was an unmatch brace pair.