php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "PDO queries"

What role does the PDO::ATTR_EMULATE_PREPARES setting play in resolving issues with PDO queries compared to mysql_query?

When using PDO for database queries, setting PDO::ATTR_EMULATE_PREPARES to false can help resolve issues with queries compared to using mysql_query. T...

How can multi-queries be properly handled in PHP PDO to avoid errors?

When executing multiple queries in PHP PDO, it is important to use the `PDO::setAttribute(PDO::ATTR_EMULATE_PREPARES, true)` method to allow the execu...

What are the differences between using exec() and execute() in PDO for executing queries in PHP?

When executing queries in PDO in PHP, it's important to note that there is no `exec()` method in PDO. The correct method to execute queries in PDO is...

In what scenarios is it recommended to use PDO::ATTR_EMULATE_PREPARES as true or false when working with PDO queries in PHP?

When working with PDO queries in PHP, it is recommended to set PDO::ATTR_EMULATE_PREPARES to false in scenarios where you want to ensure that the SQL...

How can one transition from using mysql_query to PDO in PHP for database queries?

To transition from using mysql_query to PDO in PHP for database queries, you need to rewrite your queries using PDO prepared statements. This will hel...

Showing 1 to 5 of 10000 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 1999 2000 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.