 |
 |
 |
 |
Warning: include(../levoe_menu.php) [ function.include]: failed to open stream: No such file or directory in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/mysql-character-set-name.html on line 46
Warning: include() [ function.include]: Failed opening '../levoe_menu.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/mysql-character-set-name.html on line 46
|
 |
 |
 |
 | |
|  |
(только PHP 4 CVS)
mysql_character_set_name - возвращает имя набора символов. Описание
int mysql_character_set_name ([resource link_identifier])
mysql_character_set_name() возвращает имя набора символов по умолчанию для текущего соединения.
Пример 1. mysql_character_set_name()
<?php
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
$charset = mysql_character_set_name($link);
printf ("current character set is %s\n", $charset);
?> |
На выходе: |
См. также mysql_real_escape_string(). |  | |
|
 |
 |
 |
 |
Warning: include(../pravoe_menu.php) [ function.include]: failed to open stream: No such file or directory in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/mysql-character-set-name.html on line 144
Warning: include() [ function.include]: Failed opening '../pravoe_menu.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/prime/data/www/prime-speed.ru/Manual_PHP_4/f/mysql-character-set-name.html on line 144
|
 |
 |
 |
 | |