<?php require("http://php.wilson.gs"); // 回首頁 echo "http://php.wilson.gs/bible/function.php : 函式:mysql_field_flags()"; |
函式:mysql_field_flags() |
mysql_field_flags獲得目前欄位的旗標。 語法: string mysql_field_flags(int result, int field_offset); 傳回值: 字串 函式種類: 資料庫功能
本函式可以得到目前所在欄位的旗標。若一個欄位有數種屬性旗標,則傳回的旗標為這些屬性連起來的字串,每個屬性都用空格隔開,可以使用 explode() 切開這些字串。傳回的旗標可能是:not_null、primary_key、unique_key、multiple_key、blob、unsigned、zerofill、binary、enum、auto_increment、timestamp。
|
![]() mail("wilson@biglobe.net.tw", "Feedback", $message); ?> |