Top "Mysqli" questions

The mysqli PHP extension is a PHP database driver.

mysqli_real_connect(): (HY000/2002): No such file or directory

mysqli_real_connect(): (HY000/2002): No such file or directory PhpMyAdmin error on MacOS. I want answer I really have no …

php macos mysqli phpmyadmin
Object of class mysqli_result could not be converted to string in

I am getting the error: Object of class mysqli_result could not be converted to string This is my code: $…

php mysqli
phpMyAdmin ERROR: mysqli_real_connect(): (HY000/1045): Access denied for user 'pma'@'localhost' (using password: NO)

I keep getting the following errors with mysql connection through XAMPP and I don't know what to do: That's the …

php mysqli phpmyadmin xampp
How to call a MySQL stored procedure from within PHP code?

I have stored procedure that I created in MySQL and want PHP to call that stored procedure. What is the …

php mysql stored-procedures mysqli user-defined-functions
mysqli::mysqli(): (HY000/2002): Can't connect to local MySQL server through socket 'MySQL' (2)

I get this error when I try to connect to the mysql database using php mysqli class. Using following code: $…

php mysql mysqli
How to change mysql to mysqli?

Based on this code below I use for regular mysql, how could I convert it to use mysqli? Is it …

php mysql mysqli
Fatal error: Call to a member function fetch_assoc() on a non-object

I'm trying to execute a few queries to get a page of information about some images. I've written a function …

php mysqli
Warning: mysqli_error() expects exactly 1 parameter, 0 given error

I get the following error Warning: mysqli_error() expects exactly 1 parameter, 0 given The problem is with this line of the …

php mysqli
mysqli or PDO - what are the pros and cons?

In our place we're split between using mysqli and PDO for stuff like prepared statements and transaction support. Some projects …

php mysql pdo mysqli database-abstraction
mysqli::query(): Couldn't fetch mysqli

Warning: mysqli::query(): Couldn't fetch mysqli in C:\Program Files (x86)\EasyPHP-DevServer-13.1VC9\data\localweb\my portable files\class_EventCalendar.…

php mysql mysqli