Is it possible to use bind_param in update query where column's name can dynamically changes?
for example
sql='update table_1 set ? = ? where id=?'
In the query above, I want to set the column name also by bind_param
, but it causes error.
Is it possible to use bind_param in update query where column's name can dynamically changes?
for example
sql='update table_1 set ? = ? where id=?'
In the query above, I want to set the column name also by bind_param
, but it causes error.