04 Sessions Mysql20 2.01 Mysqli_01
php.net | MySQL Improved Extension
A total of 8 records were found.
Debug Code - var_dump($conn)
object(mysqli)#1 (18) {
["affected_rows"]=>
int(8)
["client_info"]=>
string(14) "mysqlnd 8.1.30"
["client_version"]=>
int(80130)
["connect_errno"]=>
int(0)
["connect_error"]=>
NULL
["errno"]=>
int(0)
["error"]=>
string(0) ""
["error_list"]=>
array(0) {
}
["field_count"]=>
int(3)
["host_info"]=>
string(25) "Localhost via UNIX socket"
["info"]=>
NULL
["insert_id"]=>
int(0)
["server_info"]=>
string(32) "10.3.39-MariaDB-0ubuntu0.20.04.2"
["server_version"]=>
int(100339)
["sqlstate"]=>
string(5) "00000"
["protocol_version"]=>
int(10)
["thread_id"]=>
int(476898)
["warning_count"]=>
int(0)
}
Debug Code - mysqli Methods
Array
(
[0] => __construct
[1] => autocommit
[2] => begin_transaction
[3] => change_user
[4] => character_set_name
[5] => close
[6] => commit
[7] => connect
[9] => debug
[8] => dump_debug_info
[27] => escape_string
[10] => get_charset
[11] => get_client_info
[12] => get_connection_stats
[13] => get_server_info
[14] => get_warnings
[15] => init
[16] => kill
[18] => more_results
[17] => multi_query
[19] => next_result
[34] => options
[20] => ping
[21] => poll
[22] => prepare
[23] => query
[24] => real_connect
[25] => real_escape_string
[28] => real_query
[26] => reap_async_query
[42] => refresh
[29] => release_savepoint
[30] => rollback
[31] => savepoint
[32] => select_db
[33] => set_charset
[35] => set_opt
[36] => ssl_set
[37] => stat
[38] => stmt_init
[39] => store_result
[40] => thread_safe
[41] => use_result
)
Debug Code - var_dump($result)
object(mysqli_result)#2 (5) {
["current_field"]=>
int(0)
["field_count"]=>
int(3)
["lengths"]=>
NULL
["num_rows"]=>
int(8)
["type"]=>
int(0)
}
Debug Code - mysqli_result Methods
Array
(
[0] => __construct
[1] => close
[3] => data_seek
[7] => fetch_all
[8] => fetch_array
[9] => fetch_assoc
[12] => fetch_column
[4] => fetch_field
[6] => fetch_field_direct
[5] => fetch_fields
[10] => fetch_object
[11] => fetch_row
[13] => field_seek
[2] => free
[14] => free_result
[15] => getIterator
)