php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "SQL query syntax"

What are some best practices for populating a 2D array in PHP from database query results?

When populating a 2D array in PHP from database query results, it is best to iterate through the results and store each row as an array within the mai...

How can you efficiently build and manipulate arrays in PHP to achieve a desired data output format from MySQL query results?

When working with MySQL query results in PHP, you can efficiently build and manipulate arrays to achieve a desired data output format by using loops t...

What are the potential pitfalls of using quotes around the NOW() function in a MySQL query when inserting data from PHP?

Using quotes around the NOW() function in a MySQL query when inserting data from PHP can cause the NOW() function to be treated as a string rather tha...

How can a WHERE clause be effectively used in a PHP database query to retrieve specific data based on user input?

To retrieve specific data based on user input in a PHP database query, you can use a WHERE clause to filter the results based on the user-provided cri...

What is the significance of the $dbc variable in the PHP code provided and how does it affect the query execution?

The $dbc variable in the PHP code is the database connection object that is used to establish a connection to the database. It is significant because...

Showing 9961 to 9965 of 10000 results

‹ 1 2 ... 1990 1991 1992 1993 1994 1995 1996 ... 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.