Документ взят из кэша поисковой машины. Адрес оригинального документа : http://old.master.cmc.msu.ru/php/function.msql-list-fields.html
Дата изменения: Sun Feb 3 22:47:09 2002
Дата индексирования: Tue Oct 2 10:15:36 2012
Кодировка:
msql_list_fields

msql_list_fields

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

msql_list_fields -- List result fields

Description

int msql_list_fields ( string database, string tablename)

msql_list_fields() retrieves information about the given tablename. Arguments are the database name and the table name. A result pointer is returned which can be used with msql_fieldflags(), msql_fieldlen(), msql_fieldname(), and msql_fieldtype(). A query identifier is a positive integer. The function returns -1 if a error occurs. A string describing the error will be placed in $phperrmsg, and unless the function was called as @msql_list_fields() then this error string will also be printed out.

See also msql_error().