Your code has many syntax errors. In the first script, in the assign, that must be two strings, separated by a . - you have three strings, separated by 2 periods.
In the second, you close the foreach with a nexteach, but the if that's inside the foreach is closed outside the foreach/nexteach.
Also in the second, the parentheses in the if line are missing.
|