Example 20.111. mysqli_get_client_version
<?php
/* We don't need a connection to determine
the version of mysql client library */
printf("Client library version: %d\n", mysqli_get_client_version());
?>
See Also
mysqli_get_client_info
mysqli_get_server_info
mysqli_get_server_version
20.7.3.9.7. mysqli::close,
Copyright 1997-2012 the PHP Documentation Group. [2230]
•
mysqli::close
mysqli_close
Closes a previously opened database connection
Description
Object oriented style
bool mysqli::close();
Procedural style
bool mysqli_close(
mysqli link);
Closes a previously opened database connection.
Parameters
link
Return Values
Returns
TRUE
Examples
See mysqli_connect.
See Also
mysqli::__construct
mysqli_init
mysqli_real_connect
20.7.3.9.8. mysqli::commit,
Copyright 1997-2012 the PHP Documentation Group. [2230]
MySQL Improved Extension (Mysqli)
mysqli_close
Procedural style only: A link identifier returned by
mysqli_connect
on success or
on failure.
FALSE
mysqli_commit
or
mysqli_init
2358
Need help?
Do you have a question about the 5.0 and is the answer not in the manual?
Questions and answers