Top "Mysqli" questions

The mysqli PHP extension is a PHP database driver.

How to convert mysqli result to JSON?

I have a mysqli query which I need to format as JSON for a mobile application. I have managed to …

php json mysqli
$stmt->execute() : How to know if db insert was successful?

With the following piece of code, how do i know that anything was inserted in to the db? if ($stmt = $…

php oop mysqli
Warning: mysqli_connect(): (HY000/2002): No such file or directory

I'm trying to install vanilla forums on my Mac, and for this I just created a database and a user …

php mysql mysqli
PHP UPDATE prepared statement

I'm trying to learn the proper way to use prepared statements to avoid SQL injections etc. When I execute the …

php mysqli sql-update prepared-statement
Should I use mysqli_real_escape string() or mysql_real_escape_string() for form data?

Possible Duplicate: mysql_escape_string VS mysql_real_escape_string I need to get company_name (given by user through …

php mysql mysqli mysql-real-escape-string
utf 8 - PHP and MySQLi UTF8

my table char set is utf8 and it's collation is utf8.now i have this code: $mysqli = new mysqli("localhost", "…

php character-encoding mysqli
How to prepare statement for update query?

I have a mysqli query with the following code: $db_usag->query("UPDATE Applicant SET phone_number ='$phone_…

php mysql mysqli prepared-statement bindparam
Which is fastest in PHP- MySQL or MySQLi?

I'd like to know if anyone has any first-hand experience with this dichotomy. A few blogs say the mysql extension …

php mysql mysqli
mysql_field_name to the new mysqli

I have a way to get the name of the columns of a table. It works fine but now I …

php mysqli
Having a problem getting mysqli_query to execute

Here's the problem: I started a swap today to use mysqli. No biggie, just had to change a few statements. …

php mysql mysqli