How do I retrieve column information in php/mysql when the table is empty?
The functions below all require the use of a result pointer which is empty if there is no data in the table. Therefore I can not find out the column names.
mysql_num_fields
mysql_field_name
mysql_list_fields
Is there a way to do this?
Thanks