In PDO, the ________ method is used to bind a value to a parameter.

  • bindParam()
  • exec()
  • query()
  • connect()
The 'bindParam()' method in PDO is used to bind a value to a parameter in a prepared statement, allowing for secure and efficient parameterized queries.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *