PHP mysqli get_client_info() Function

❮ PHP MySQLi Reference

Example

Return the MySQL client library version:

<?php
echo mysqli_get_client_info();
?>


Definition and Usage

The get_client_info() / mysqli_get_client_info() function returns the MySQL client library version.


Syntax

Object oriented style:

$mysqli -> get_client_info()

Procedural style:

mysqli_get_client_info(connection)

Parameter Values

Parameter Description
connection Optional. Specifies the MySQL connection to use

Technical Details

Return Value: Returns a string that represents the MySQL client library version
PHP Version: 5+

❮ PHP MySQLi Reference
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.