php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "INSERT SELECT"

What is the purpose of using mysql_num_rows() in an INSERT query in PHP?

When using an INSERT query in PHP, the mysql_num_rows() function is not necessary as it is used to retrieve the number of rows in a result set from a...

How does mysqli_affected_rows() work for SELECT statements in PHP?

mysqli_affected_rows() function is used to get the number of rows affected by INSERT, UPDATE, or DELETE queries in MySQL. However, for SELECT statemen...

What are the potential pitfalls of using Transactions to handle conditional INSERT commands in PHP?

Using Transactions to handle conditional INSERT commands in PHP can lead to potential pitfalls such as race conditions, where multiple transactions ma...

How can different values from select fields be inserted into a database using a submit button in PHP?

To insert different values from select fields into a database using a submit button in PHP, you need to retrieve the selected values from the select f...

Why is it not recommended to rely on mysql_affected_rows for SELECT queries in PHP?

Using mysql_affected_rows for SELECT queries in PHP is not recommended because this function only returns the number of rows affected by INSERT, UPDAT...

Showing 31 to 35 of 6286 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 1257 1258 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.