in reply to DBI Insert not working

ericlee:

You're talking about HTML forms, but nothing like that is in your code. Did you try the stripped down version you've shown, or did you just extract it from a CGI program. If the latter, then try making a standalone version work first.

...roboticus

When your only tool is a hammer, all problems look like your thumb.