in reply to Missing $ on loop variable?
You don't have missing brackets (assuming you mean parentheses) per se. You have the foreach key word and you have a perfectly valid parenthesised list. Between those two syntactic elements should lie nothing or an explicitly named loop variable. You have neither.
|
|---|