mysql_num_fields

(PHP 3, PHP 4 >= 4.0.0)

mysql_num_fields -- Vrßtφ poΦet polo╛ek ve v²sledku

Popis

int mysql_num_fields ( resource v²sledek)

mysql_num_fields() returns the number of fields in a result set.

Viz. takΘ: mysql_db_query(), mysql_query(), mysql_fetch_field(), mysql_num_rows().

For downward compatibility mysql_numfields() can also be used. This is deprecated however.