Delivering the best Add-Ons in more than 37 languages.

中文(简体), English, हिन्दी/हिंदी, Español/Castellano, العربية, Русский язык, Français, 中文 (台灣), বাংলা, Bahasa Indonesia, اردو, Português, Deutsch, Bahasa Melayu (بهاس ملايو‎), 日本語 (にほんご), فارسی, Italiano, తెలుగు, Türkçe, ગુજરાતી, Język polski/polszczyzna, Tiếng Việt, ಕನ್ನಡ, Українська мова, ไทย
PHP Scripts / Add-ons

PHP MySQLi to MySQL Converter Class

— Add-On to

Subscribe to our feed to stay up to date!

New! Follow us as you want it!

PHP MySQLi to MySQL Converter Class - CodeCanyon Item for Sale


Ad: Bluehost hosting
This class makes it possible to use Mysqli class in a not Mysqli supported php hosting.

It is a handwritten mysqli class.

So you can use Mysqli class without installing Mysqli extention. It has almost all functionality of the real MySQLi Class.

If you are getting “Fatal error: Class ‘MySQLi’ not found”, this is solution.

Just include my_mysqli.php and use mysqli class without any server configuration. It’s quite easy.

How to use it :

It’s very easy, after you include the library file, the only difference you have to make is changing the class name to my_mysqli when connecting.

 // Change : $mysqli = new mysqli("localhost", "my_user", "my_password", "world"); // to : $mysqli = new my_mysqli("localhost", "my_user", "my_password", "world"); 

Features : Mysqli Class (mysqli.php)

 Constants : MYSQLI_ASSOC,MYSQLI_NUM,MYSQLI_BOTH class my_mysqli $conn; $host_info $protocol_version $thread_id $error $errno $affected_rows $server_info $client_info $info $insert_id; function query() function real_escape_string() function close() function set_charset() function stat() class my_mysqli_query $query $num_rows $field_count function fetch_all() function fetch_assoc() function fetch_array() function fetch_row() function fetch_field() function free() 

Other components in this categoryAll components of this author
CommentsFrequently asked questions and answers


14 August 12

Last Update:

Files Included:

Software Version:
PHP 4.x, PHP 5.x, PHP 5.0 - 5.2, PHP 5.3, MySQL 4.x, MySQL 5.x


eCommerce, eCommerce, All Items, adaptor, class, converter, mysql, mysqli, php