★ wanayoo — archive 1999 http://www.php.net/manual/ja/function.msql-tablename.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to mSQL
Quick Reference
English version of this pageGerman version of this pageItalian version of this pageFrench version of this pageHungarian version of this page
mSQL
* msql
* msql_affected_rows
* msql_close
* msql_connect
* msql_create_db
* msql_createdb
* msql_data_seek
* msql_dbname
* msql_drop_db
* msql_dropdb
* msql_error
* msql_fetch_array
* msql_fetch_field
* msql_fetch_object
* msql_fetch_row
* msql_fieldname
* msql_field_seek
* msql_fieldtable
* msql_fieldtype
* msql_fieldflags
* msql_fieldlen
* msql_free_result
* msql_freeresult
* msql_list_fields
* msql_listfields
* msql_list_dbs
* msql_listdbs
* msql_list_tables
* msql_listtables
* msql_num_fields
* msql_num_rows
* msql_numfields
* msql_numrows
* msql_pconnect
* msql_query
* msql_regcase
* msql_result
* msql_select_db
* msql_selectdb
* msql_tablename
Manual: msql_tablename
View the source code for this pageSearch the site



Previous page
 msql_selectdb
 Updated
Mon, 14 Aug 2000
MySQL 
Next page


msql_tablename

(PHP3 , PHP4 )

msql_tablename -- フィールドのテーブル名を得ます

説明

string msql_tablename (int query_identifier, int フィールド)

msql_tablename()は、msql_list_tables ()より返された結果ポインタおよび整数インデックスを引数として、 テーブルの名前を返します。 結果ポインタにおけるテーブルの数を求めるために msql_numrows() 関数を使用することができます。

例 1. msql_tablename()の例


<?php 
msql_connect ("localhost");
$result = msql_list_tables("wisconsin");
$i = 0;
while ($i < msql_numrows($result)) {
    $tb_names[$i] = msql_tablename($result, $i);
    echo $tb_names[$i] . "<BR>";
    $i++; 
}
?>


 About Notes


Previous page
 msql_selectdb
 Updated
Mon, 14 Aug 2000
MySQL 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.