mysqli_character_set_name
(PHP 5)
mysqli_character_set_name(no version information, might be only in CVS)
mysqli->character_set_name() -- Returns the default character set for the database connectionDescription
Procedural style:
string mysqli_character_set_name ( mysqli link )Object oriented style (method):
class mysqli {string character_set_name ( void )
}
Returns the current character set for the database connection.
Parameters
linkProcedural style only: A link identifier returned by mysqli_connect() or mysqli_init()
Examples
Example 2. Procedural style
|
The above example will output:
Current character set is latin1_swedish_ci |
