×
Home About Us Products Services News Free Scripts Contact
news php scripts and software

PHP example - How to get the number of fields in a MySQL result?


PHP - How to get the number of fields in a MySQL result?

There is a special function in PHP, mysql_num_fields, which allows to do this.

The syntax is as follows:

int mysql_num_fields ( resource result)

Category: PHP

 
<< Go back