In PDO, the placeholders used in prepared statements can be either named or ________.
- Indexed
- Positional
- Indexed or Positional
- Named
In PDO, placeholders in prepared statements can be either named (e.g., :name) or positional (e.g., ?). Both are valid ways to bind values.
Loading...
Related Quiz
- Is it possible to extend the execution time of a PHP script?
- Which of the following are true about loops in PHP?
- You're developing a PHP application where you need to segregate classes that handle database operations and email sending. Which feature of PHP allows you to group these classes in a way that they can coexist even if they have the same class name?
- Is multiple inheritance supported in PHP?
- A common practice in PHP file handling is to always close the file after you're done with it using the fclose() function to free up ______.