hmm... I think line 102 is ok, considering the use of $numrows following it.
With no comments it is hard to say.
Incidentally, it isnt a closing bracket that is needed, it is a closing brace, at least in PHP's usage.
Actually, could it be line 98 or line 93 instead?