php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "mysql_query"

What are the main differences between mysql_query and mysqli in PHP?

The main difference between mysql_query and mysqli in PHP is that mysql_query is deprecated as of PHP 5.5.0 and removed in PHP 7.0.0, while mysqli is...

What are the differences between using mysql_query and mysqli_query in PHP when interacting with a database?

When interacting with a database in PHP, it is recommended to use the mysqli_query function instead of the deprecated mysql_query function. mysqli_que...

What are the differences in return values between mysql_query() and PDOStatement->execute in PHP?

The main difference between mysql_query() and PDOStatement->execute in PHP is their return values. mysql_query() returns a resource for SELECT, SHOW,...

What are the common pitfalls when using the mysql_query function in PHP?

Common pitfalls when using the mysql_query function in PHP include vulnerability to SQL injection attacks and deprecated usage of the function. To pre...

How can the use of @mysql_query() affect the immediate sending of emails?

The use of @mysql_query() can affect the immediate sending of emails if there are errors in the SQL query that prevent the email sending code from exe...

Showing 26 to 30 of 532 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 106 107 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.