[ad_1]
Use the information_schema meta-DB:
SELECT COLUMN_NAME
FROM information_schema.TABLES
WHERE (TABLE_SCHEMA='Yourdb') AND (TABLE_NAME = 'Yourtablename')
[ad_2]
solved Echo name of fields from MySQL table to web page [closed]
[ad_1]
Use the information_schema meta-DB:
SELECT COLUMN_NAME
FROM information_schema.TABLES
WHERE (TABLE_SCHEMA='Yourdb') AND (TABLE_NAME = 'Yourtablename')
[ad_2]
solved Echo name of fields from MySQL table to web page [closed]