PDO bindParam() with multiple named parameters

后端 未结 1 1049
小鲜肉
小鲜肉 2021-01-18 10:18

Can\'t PDO bind a value to multiple occurrences of a param in a query with a single bindParam()?

I\'m surprised, I thought it was possible, but I did

相关标签:
1条回答
  • 2021-01-18 10:55

    See PDO::prepare

    You cannot use a named parameter marker of the same name twice in a prepared statement
    
    0 讨论(0)
提交回复
热议问题