(PHP 3, PHP 4 , PHP 5)

mysql_num_fields -- Get number of fields in result


int mysql_num_fields ( resource result)

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

See also mysql_select_db(), mysql_query(), mysql_fetch_field() and mysql_num_rows().

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

Sites of interest: Web Hosting : Reseller Hosting : Website Hosting : HTML Editor : Web Design Templates : Free Web Hosting : ASP code examples : PHP & MySQL Code Examples
  Copyright 2004 Evrsoft Developer Network. Privacy policy - Link to Us

Contact Evrsoft