Pré-requis

Pour faire fonctionner ces fonctions, vous devez compiler PHP avec le support de l'extension MySQLi.

Note:

L'extension MySQLi est conçue pour fonctionner avec la version 4.1.13 ou plus récent, et 5.0.7 et plus récent, de MySQL. Pour les versions plus anciennes, voyez la documentation de l'extension MySQL.

add a note add a note

User Contributed Notes 3 notes

up
3
Paul from miniBB
1 year ago
"php_mysqli does not replace the php_mysql library.  It only extends it.  You need the php_mysql library !"

mysql_connect() is from another library.  Surely, php_mysqli works WITHOUT php_mysql enabled on the server.  Nothing from php_mysql module is related to this.

Before switching to mysqli, you need to completely eliminate all "mysql_" functions in your code. For example, mysql_connect() could be replaced to mysqli_connect() with an identifying link in front. Like:

$link = mysqli_connect("myhost","myuser","mypassw","mybd");

Then each of mysqli command just should need to be referred to $link at first.
up
-8
bashir dot adaptive at gmail dot com
9 months ago
Does all Web Hosting support MySQLi. Web host like godaddy and others.

Please help me to select MySQLi Supported web host.
Thanks
up
-10
dennylin93 at cnmc32 dot hs dot ntnu dot edu dot tw
5 years ago
The required extensions will be pulled in automatically on FreeBSD, unless you manually remove them after installation.
To Top