php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "function reference"

What are the best practices for using PDO or mysqli instead of the deprecated mysql_query function in PHP?

The best practice for using PDO or mysqli instead of the deprecated mysql_query function in PHP is to use prepared statements to prevent SQL injection...

What potential issues or limitations may arise when using the curl function in PHP to read website content?

One potential issue when using the curl function in PHP to read website content is that the website may require authentication. To solve this, you can...

What are the potential issues with using the curl_close() function in PHP and how can they be resolved?

Potential issues with using the curl_close() function in PHP include closing a handle prematurely before all data has been received or processed. To r...

What potential pitfalls or errors can occur when using the fputcsv function in PHP for generating CSV files?

One potential pitfall when using the fputcsv function in PHP is that it may not handle special characters properly, leading to corrupted CSV files. To...

What potential issues can arise when using the mysql_query function in PHP, and what are the recommended alternatives?

Using the mysql_query function in PHP can lead to SQL injection vulnerabilities and is deprecated as of PHP 5.5.0. It is recommended to use either PDO...

Showing 9996 to 10000 of 10000 results

‹ 1 2 ... 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • Privacy
  • FAQ

© 2025 php.org. All rights reserved.