in reply to db to db update
Your $value_ph contains question marks with no commas to separate them. Try the following:
my $field = join(',',@field); my $value_ph = join(',', map "?", @field); [download]