Top "Mysqli" questions

The mysqli PHP extension is a PHP database driver.

How to insert into MySQLusing a prepared statement with PHP

I am just learning about databases and I want to be able to store user inputs. What would be a …

php mysql mysqli prepared-statement
Can I blindly replace all mysql_ functions with mysqli_?

I have used mysql_query() throughout my project; but I've just learned that mysql_ was deprecated as of PHP 5.5, has …

php mysql mysqli
how to bind multiple parameters to MySQLi query

I have a mysql query, but I can't bind param for it SELECT users.email,users.handle,userprofile.mobile FROM …

php mysqli
mysqli or die, does it have to die?

If I use a bit of code like this: $update_result = mysqli_query( $link , $sql_update_login ) or die ('Unable …

php mysql mysqli
new mysqli vs mysqli_connect

What is difference between the new mysqli and mysqli_connect? I know that executing a query is different; for example: …

php mysqli
How do I migrate my site from mysql to mysqli?

Is there anything I have to do on the database end or is it just the php that changes? Can …

php mysqli
Show loading image while PHP is executing

I would like to show loading image while the php script is executing. I have read different answers on how …

php jquery mysql mysqli jquery-load
Why is mysqli giving a "Commands out of sync" error?

I am trying to run the following. <?php $db = mysqli_connect("localhost","user","pw") or die("Database error"); mysqli_…

php mysql mysqli
mysqli bind_param for array of strings

I can not get this to work. I've spent way to many hours on it now. This works: $mysqli = new …

php mysqli bindparam
Using Prepared Statement, how I return the id of the inserted row?

I want retrieve the id of a inserted row in the database, but I don't know how to do this. …

php mysql mysqli prepared-statement