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)
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)