PHP 忒聊 綴豖 ヶ輛 mysql_db_name (PHP 3 = 3.0.6, PHP 4) Description mysql_db_name() takes as its first parameter the result pointer from a call to mysql_list_dbs(). The row parameter is an index into the result set. If an error occurs, FALSE is returned. Use mysql_errno() and mysql_error() to determine the nature of the error. 瞰赽 1. mysql_db_name() example ?php error_reporting(E_ALL); mysql_connect('dbhost', 'username', 'password'); $db_list = mysql_list_dbs(); $i = 0; $cnt = mysql_num_rows($db_list); while ($i $cnt) {echo mysql_db_name($db_list, $i). "\n"; $i++;}? For backward compatibility, mysql_dbname() is also accepted. This is deprecated, however. 綴豖 れ萸 ヶ輛 mysql_data_seek 奻珨撰 mysql_db_query