1

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.

Oleksandr Pobuta
  • 407
  • 5
  • 11
Art Croix
  • 43
  • 1
  • 6

0 Answers0