Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

PHP mysqli_get_charset() Function

PHP mysqli_get_charset() Function

PHP MySQLi Reference Manual PHP MySQLi Reference Manual

Example

Return a character set object with properties:


Definition and Usage

The mysqli_get_charset() function returns a character set object.


Syntax

mysqli_get_charset(

connection

)

;

Parameters Description
connection Required. Specifies the MySQL connection to use.

Technical Details

| Return value: | Returns a character set object with the following properties:

| | --- | --- | | PHP Version: | 5.1+ |

PHP MySQLi Reference Manual PHP MySQLi Reference Manual