in reply to Re: Update Sqlite References
in thread Update Sqlite References

Yes - the reason your original code:
$dbh->do ('UPDATE Data SET Tag1=?, Tag2=? WHERE ID=$ID_read VALUES (?, + ?)',
did not work is that $ID will NOT get interpolated, since the string is in single quotes.

It could be fixed by:

$dbh->do ("UPDATE Data SET Tag1=?, Tag2=? WHERE ID=$ID_read VALUES (?, + ?)", # = + =

        ...it is unhealthy to remain near things that are in the process of blowing up.     man page for WARP, by Larry Wall