What's the error message ?
pritaeas
Posting Expert
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
The problem is foreach operation db is connected to and closed...
Can you explain why you think this would be the issue ? The code, however inefficient, is still correct. (The semi-colon as mentioned by Karthik_pranas is the real issue.)
pritaeas
Posting Expert
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875