From: Brian Roy <[EMAIL PROTECTED]>
> As a follow-up, I went back to my code where I built this using dbi
> mysql and did a trace on it. Surprisingly, it sees this as the same
> thing but it handles it better. Here is the trace output of the mysql
> version.It sees the last field as a \n character.
> 
> So is there a better way to format my sql where dbi doesn't try to
> tack on that extra ')?

Why do you think it's DBI appending the character? Are you sure you 
do not have it there in the first place:

        print "'" . join("', '", @$formdata) . "'\n";

Does this print what you thought it should?

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery

Reply via email to