Hi everybody,

what I want to do is something like

$dbh->prepare('UPDATE table SET ? = ? WHERE id=?');
$dbh->execute($column,$value, $id);

The encountered problem relates to the bind-process of $column.
As I suppose I have to explicitly call the bind_param-method the tell the
driver not to quote the column-name.
Is that right? Which kind of SQL-type do I have to assign to it?

Thank You.

Günter Bührle


Reply via email to