in reply to Re^2: Problems with sth->fetchrow array or another syntax error
in thread Problems with sth->fetchrow array or another syntax error

Happy to help.

Part of the problem you had in diagnosing the problem was because the source code was hard to parse at a glance, which tends to happen when HTML and perl are in the same context.

I recommend splitting the HTML into a template and using one of the many templating systems that are available. Everyone has their favorite (my favorite is Template Toolkit), but for a first effort I would recommend HTML::Template. You can learn the syntax and be up and running within 30 minutes generally.

  • Comment on Re^3: Problems with sth->fetchrow array or another syntax error