When using transactions in PDO, the ________ method is used to roll back the current transaction.
- rollback()
- commit()
- begin()
- execute()
In PDO, the rollback() method is used to roll back the current transaction when using transactions.
Loading...
Related Quiz
- What are some of the key concepts in Object-Oriented Programming in PHP?
- Which PHP function checks if a variable is a number or a numeric string?
- An array that has named indexes instead of numeric is called a(n) ________ array.
- A PHP class implements an interface using the implements keyword.
- You are building a function that processes user data. If the user does not provide an age, you want the function to default to 18. Which PHP feature allows you to set this default?