Top "Mysqli" questions

The mysqli PHP extension is a PHP database driver.

Cannot figure out how to run a mysqli_multi_query and use the results from the last query

I've never used mysqli_multi_query before and it's boggling my brain, any examples I find on the net aren't …

php mysql mysqli mysqli-multi-query
What does bind_param accomplish?

I'm learning about avoiding SQL injections and I'm a bit confused. When using bind_param, I don't understand the purpose. …

php sql mysqli sql-injection bindparam
MySQLi not found error

I just deployed my website to a staging environment and am getting the following error: Fatal error: Class 'mysqli' not …

php mysqli iis-5
Turning query errors to Exceptions in MySQLi

I'm trying to turn MySQLi query errors to Exceptions, but couldn't - mysqli_sql_exception is thrown only if it …

php mysqli
mysqli bind_param() expected to be a reference, value given

Can't figure out, whats causing error Parameter 3 to mysqli_stmt::bind_param() expected to be a reference, value given in... …

php arrays mysqli
bind_param problem with binding boolean values

I have a problem binding booleans using mysqli_stmt::bind_param in PHP5. The SQL query is the following: insert …

php mysqli boolean prepared-statement bindparam
Fatal error: Uncaught exception 'mysqli_sql_exception' with message 'No index used in query/prepared statement'

When I run the following code, I get the error saying Fatal error: Uncaught exception 'mysqli_sql_exception' with message …

php mysql mysqli mysql-insert-id sql
Can't return a result set in the given context

When ever I try to call store procedure in mysql that sends back a result set, it keeps saying me …

php zend-framework mysqli multi-select
PHP Error: "Call to undefined function mysqli_connect()"

In PHP I'm getting this error: Call to undefined function mysqli_connect() I checked my php.ini file and there …

mysqli database-connection php apache2.2
PHP MySQLi num_rows Always Returns 0

I have built a class which leverages the abilities of PHP's built-in MySQLi class, and it is intended to simplify …

php mysql oop mysqli mysql-num-rows