|
PHP5中文手册
mysqli_character_set_namemysqli->character_set_name()(PHP 5) mysqli->character_set_name() — Returns the default character set for the database connection 说明Procedural style:
string mysqli_character_set_name
( mysqli $link
)
Object oriented style (method): mysqli
string character_set_name
( void
)
Returns the current character set for the database connection. 返回值The default character set for the current connection 范例Example#1 Object oriented style
<?php Example#2 Procedural style
<?php 上例将输出:
|