The query you're building has a syntax error in it. Figure out what the syntax error is, and fix it. That's pretty much all there is to it.
One problem I see is the way you're building up a string of bind markers in put_log(). You need commas between them, not spaces.
Hint: Depending on what RDBMS you're using (e.g., MySQL), prepare() won't catch syntax errors.
In reply to Re: db to db update
by dws
in thread db to db update
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |