This class makes it possible to use Mysqli class in a not Mysqli supported php hosting.
So you can use Mysqli class without installing Mysqli extention.
It has almost all functionality of MySQLi Class
Features
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()
Example
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");