Re: binding column names

2004-07-06 Thread Tony . Adolph
TECTED] cc: 06.07.2004 08:33 Subject: binding column

Re: binding column names

2004-07-06 Thread Michael Peppler
On Tue, 2004-07-06 at 08:33, [EMAIL PROTECTED] wrote: > 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

binding column names

2004-07-05 Thread Guenter . Buehrle
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