php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "fetch methods"

What are the security implications of using file_get_contents to fetch data from external sources in PHP?

Using file_get_contents to fetch data from external sources in PHP can pose security risks such as potential for remote code execution, exposing sensi...

When working with a single record in a database table, what are some alternative methods to Fetch Array that could be used in PHP?

When working with a single record in a database table in PHP, an alternative method to Fetch Array could be using Fetch Object. This method returns th...

Is it recommended to use fetch(PDO::FETCH_ASSOC) or set the default fetch mode to FETCH_ASSOC in PDO prepared statements in PHP?

When using PDO prepared statements in PHP, it is recommended to set the default fetch mode to FETCH_ASSOC in order to retrieve results as an associati...

What are common pitfalls when using PDO fetch(PDO::FETCH_ASSOC) in PHP to fetch data from a database?

When using PDO fetch(PDO::FETCH_ASSOC) to fetch data from a database in PHP, a common pitfall is forgetting to loop through the fetched results if the...

How can the use of mysql_fetch_object() in a PHP script impact the retrieval of data from a MySQL database and what alternative methods can be used?

Using mysql_fetch_object() in a PHP script can impact the retrieval of data from a MySQL database because it fetches a single row as an object, which...

Showing 16 to 20 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.