The PDO attribute that controls the error reporting mode is named ________.
- PDO::ERRMODE_SILENT
- PDO::ERRMODE_WARNING
- PDO::ERRMODE_EXCEPTION
- PDO::ERRMODE_ERRMODE
The PDO attribute that controls the error reporting mode is named PDO::ERRMODE_EXCEPTION, which makes PDO throw exceptions for errors.
Loading...
Related Quiz
- In PHP, which superglobal can be used to retrieve form data sent with the POST method?
- You need to store a price, which includes cents, in a variable in your PHP script. What type of number would you use and why?
- Which of the following are ways to handle cookies in PHP?
- The PHP function ________ is used to repeat a string a specified number of times.
- In PHP, the foreach loop can only access the values of an array, not the keys.