array db_list_table_fields (string tablename [, type])
Returns all field names or field attributes from a table.
Arguments
tablename is the name of the table to be examined.
type is the type of data to be returned. FALSE (the default) returns the field names, while TRUE (optional) returns the field attributes.
Result
Returns an array with the field names or field attributes, or NULL if no field is found.
Example
|
See also