KingNerd,
Web and database coding is almost non-existent for me, but I
have seen the nodes concerning the pitfalls of not using modules
for this sort of thing, so before I address your problem - may
I suggest you check out
CGI and
HTML::Template.
You haven't provided the whole script and most likely line 132.
Are you running with warnings turned on?
Are you running under strict?
You could help us help you by providing more of the code - considering
what you did provide didn't contain the word stop in it anywhere.
Cheers - L~R