php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "MySQLi"

How can the error "Undefined variable: mysqli" be resolved in PHP code?

The error "Undefined variable: mysqli" occurs when the mysqli object is not properly initialized or declared before use in PHP code. To resolve this i...

What is the difference between using mysqli and mysql functions in PHP?

The main difference between using mysqli and mysql functions in PHP is that mysql functions are deprecated as of PHP 5.5.0 and removed in PHP 7.0.0. T...

What are the best practices for transitioning from deprecated MySQL functions to MySQLi functions in PHP?

To transition from deprecated MySQL functions to MySQLi functions in PHP, you should update your code to use MySQLi functions for database operations....

Are there any best practices for updating PHP scripts from MySQL to MySQLi?

When updating PHP scripts from MySQL to MySQLi, it is important to replace the deprecated MySQL functions with their MySQLi equivalents. This includes...

What is the correct syntax for preparing a query in mysqli for PHP?

When preparing a query in mysqli for PHP, it is important to use placeholders for variables in the query to prevent SQL injection attacks. The correct...

Showing 31 to 35 of 3025 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 604 605 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.