> I iterate over every column of a table and for each column I do:
> $vals[$i] = $dbh->quote($val);


I think quote() has a problem with empty parameters (if $val is 
undefined). Maybe this is the problem.

You could write:
if ($val) {
     $vals[$i] = $dbh->quote($val);
} else {
     $vals[$i] = "''";
}


Good bye, Uwe

Reply via email to