Is there a way to find out the column names of a table dynamically? Even if the table is empty. The column names is used as a header in HTML tables for displaying in webpage.
Please advise.
Dennis
yes, [man]mysql_list_fields[/man]
why not doing
DESC tablename
?
[edit] or mysql_list_fields, sometimes you don't want it to do the easy way :-) [/edit]