<?php require("http://php.wilson.gs"); // 回首頁 echo "http://php.wilson.gs/bible/function.php : 函式:mysql_list_fields()"; |
函式:mysql_list_fields() |
mysql_list_fields列出指定資料表的欄位 (field)。 語法: int mysql_list_fields(string database_name, string table_name, int [link_identifier]); 傳回值: 整數 函式種類: 資料庫功能
本函式可以得到指定的資料表的所有欄位。傳回的欄位資訊可以供 mysql_field_flags()、mysql_field_len()、mysql_field_name() 及 mysql_field_type() 等函式使用。若有錯誤則傳回 -1。
|
![]() mail("wilson@biglobe.net.tw", "Feedback", $message); ?> |